Skip to content

Commit 343a803

Browse files
committed
chore: deployed peering-node-07/pm.rotko.net
1 parent 2dbb559 commit 343a803

File tree

4 files changed

+46
-4
lines changed

4 files changed

+46
-4
lines changed

bkk07

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ajuna
1717
polimec
1818
unique
1919
bifrost
20+
misc-container
2021

2122
[prometheus]
2223
ibp-bkk07
@@ -28,6 +29,7 @@ haproxy-bkk07
2829
build-node-07
2930
dockers
3031
proxy-bkk07
32+
peering-node-07
3133

3234
[proxmox_vms:children]
3335
taloswrkr

host_vars/bkk07.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,7 @@ lxc_nodes:
11131113
hostname: "{{ hostvars['dockers']['host_name'] }}"
11141114
ostemplate: "local:vztmpl/{{ default_container_template }}"
11151115
netif: "{{ hostvars['dockers']['netif'] }}"
1116-
cores: 1
1116+
cores: 8
11171117
memory: 4000
11181118
swap: 256
11191119
password: "{{ default_password }}"
@@ -1412,5 +1412,29 @@ lxc_nodes:
14121412
- from_port: "{{ hostvars['rpc-bifrost-polkadot-02']['default_p2p_port'] }}"
14131413
to_host: "{{ hostvars['rpc-bifrost-polkadot-02']['container_ip'] }}:{{ hostvars['rpc-bifrost-polkadot-02']['default_p2p_port'] }}"
14141414
protocol: "tcp"
1415-
- from_port: "{{ hostvars['rpc-hydration-polkadot-02']['default_p2p_port'] }}"
1416-
to_host: "{{ hostvars['rpc-hydration-polkadot-02']['container_ip'] }}:{{ hostvars['rpc-hydration-polkadot-02']['default_p2p_port'] }}"
1415+
- host: "peering-node-07"
1416+
proxmox_config:
1417+
vmid: "967"
1418+
hostname: "{{ hostvars['peering-node-07']['host_name'] }}"
1419+
ostemplate: "local:vztmpl/ubuntu-24.04-standard_24.04-2_amd64.tar.zst"
1420+
netif: "{{ hostvars['peering-node-07']['netif'] }}"
1421+
cores: 4
1422+
memory: 8192
1423+
swap: 256
1424+
password: "{{ default_password }}"
1425+
disk: "{{ zfs_storage }}:20"
1426+
mounts: '{"mp0":"{{ zfs_storage }}:50,mp=/root"}'
1427+
onboot: True
1428+
unprivileged: True
1429+
validate_certs: False
1430+
description: "{{ hostvars['peering-node-07']['host_name'] }}"
1431+
state: present
1432+
features:
1433+
- nesting=1
1434+
port_forwards:
1435+
- from_port: "{{ hostvars['peering-node-07']['ansible_port'] }}"
1436+
to_host: "{{ hostvars['peering-node-07']['container_ip'] }}:{{ ssh_port }}"
1437+
protocol: "tcp"
1438+
- from_port: "{{ hostvars['peering-node-07']['zabbix_ext_port'] }}"
1439+
to_host: "{{ hostvars['monitor']['container_ip'] }}:{{ zabbix_port }}"
1440+
protocol: "tcp"

host_vars/peering-node-07.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
ansible_host: "160.22.181.181"
3+
container_ip: "192.168.77.167"
4+
ansible_port: 2167
5+
host_name: "peering-node-07"
6+
#pm.rotko.net server
7+
host_timezone: "Asia/Bangkok"
8+
netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}'
9+
pinned_service: False
10+
11+
zabbix_ext_port: 10167
12+
13+
default_container_template: "ubuntu-24.04-standard_24.04-2_amd64.tar.zst"

inventory

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,11 @@ ibp-bkk07
1818
[haproxy]
1919
haproxy-bkk07
2020

21-
[builder-container]
21+
[misc-container]
2222
build-node-07
23+
dockers
24+
proxy-bkk07
25+
peering-node-07
2326

2427
[proxmox_nodes]
2528
ansible

0 commit comments

Comments
 (0)