Skip to content

Commit

Permalink
chore: deployed peering-node-07/pm.rotko.net
Browse files Browse the repository at this point in the history
  • Loading branch information
Catopish committed Jan 28, 2025
1 parent 2dbb559 commit 343a803
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 4 deletions.
2 changes: 2 additions & 0 deletions bkk07
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ ajuna
polimec
unique
bifrost
misc-container

[prometheus]
ibp-bkk07
Expand All @@ -28,6 +29,7 @@ haproxy-bkk07
build-node-07
dockers
proxy-bkk07
peering-node-07

[proxmox_vms:children]
taloswrkr
Expand Down
30 changes: 27 additions & 3 deletions host_vars/bkk07.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@ lxc_nodes:
hostname: "{{ hostvars['dockers']['host_name'] }}"
ostemplate: "local:vztmpl/{{ default_container_template }}"
netif: "{{ hostvars['dockers']['netif'] }}"
cores: 1
cores: 8
memory: 4000
swap: 256
password: "{{ default_password }}"
Expand Down Expand Up @@ -1412,5 +1412,29 @@ lxc_nodes:
- from_port: "{{ hostvars['rpc-bifrost-polkadot-02']['default_p2p_port'] }}"
to_host: "{{ hostvars['rpc-bifrost-polkadot-02']['container_ip'] }}:{{ hostvars['rpc-bifrost-polkadot-02']['default_p2p_port'] }}"
protocol: "tcp"
- from_port: "{{ hostvars['rpc-hydration-polkadot-02']['default_p2p_port'] }}"
to_host: "{{ hostvars['rpc-hydration-polkadot-02']['container_ip'] }}:{{ hostvars['rpc-hydration-polkadot-02']['default_p2p_port'] }}"
- host: "peering-node-07"
proxmox_config:
vmid: "967"
hostname: "{{ hostvars['peering-node-07']['host_name'] }}"
ostemplate: "local:vztmpl/ubuntu-24.04-standard_24.04-2_amd64.tar.zst"
netif: "{{ hostvars['peering-node-07']['netif'] }}"
cores: 4
memory: 8192
swap: 256
password: "{{ default_password }}"
disk: "{{ zfs_storage }}:20"
mounts: '{"mp0":"{{ zfs_storage }}:50,mp=/root"}'
onboot: True
unprivileged: True
validate_certs: False
description: "{{ hostvars['peering-node-07']['host_name'] }}"
state: present
features:
- nesting=1
port_forwards:
- from_port: "{{ hostvars['peering-node-07']['ansible_port'] }}"
to_host: "{{ hostvars['peering-node-07']['container_ip'] }}:{{ ssh_port }}"
protocol: "tcp"
- from_port: "{{ hostvars['peering-node-07']['zabbix_ext_port'] }}"
to_host: "{{ hostvars['monitor']['container_ip'] }}:{{ zabbix_port }}"
protocol: "tcp"
13 changes: 13 additions & 0 deletions host_vars/peering-node-07.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
ansible_host: "160.22.181.181"
container_ip: "192.168.77.167"
ansible_port: 2167
host_name: "peering-node-07"
#pm.rotko.net server
host_timezone: "Asia/Bangkok"
netif: '{"net0":"name=eth0,gw={{ default_nat_network_forward_cidr.split("/")[0] }},ip={{ default_host_ip }}/16,bridge={{ default_nat_device }}"}'
pinned_service: False

zabbix_ext_port: 10167

default_container_template: "ubuntu-24.04-standard_24.04-2_amd64.tar.zst"
5 changes: 4 additions & 1 deletion inventory
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ ibp-bkk07
[haproxy]
haproxy-bkk07

[builder-container]
[misc-container]
build-node-07
dockers
proxy-bkk07
peering-node-07

[proxmox_nodes]
ansible
Expand Down

0 comments on commit 343a803

Please sign in to comment.