2024-09-19 23:10:00 +02:00
|
|
|
db:
|
|
|
|
default_user:
|
2024-09-20 15:01:33 +02:00
|
|
|
user: "postgres"
|
2024-09-19 23:10:00 +02:00
|
|
|
name: "k3s"
|
|
|
|
user: "k3s"
|
2024-10-08 04:13:38 +02:00
|
|
|
password: "{{ vault.k3s.postgres.db.password }}"
|
2024-09-20 15:01:33 +02:00
|
|
|
listen_address: "{{ k3s.db.ip }}"
|
2024-09-19 23:10:00 +02:00
|
|
|
|
|
|
|
k3s:
|
2024-09-20 15:01:33 +02:00
|
|
|
net: "192.168.20.0/24"
|
2024-09-19 23:10:00 +02:00
|
|
|
server:
|
|
|
|
ips:
|
|
|
|
- 192.168.20.21
|
|
|
|
- 192.168.20.24
|
2024-10-07 20:56:12 +02:00
|
|
|
- 192.168.20.30
|
2024-09-19 23:10:00 +02:00
|
|
|
loadbalancer:
|
2024-09-20 15:01:33 +02:00
|
|
|
ip: 192.168.20.22
|
2024-09-20 16:57:59 +02:00
|
|
|
default_port: 6443
|
2024-09-19 23:10:00 +02:00
|
|
|
db:
|
|
|
|
ip: 192.168.20.23
|
|
|
|
default_port: "5432"
|
2024-09-20 16:57:59 +02:00
|
|
|
agent:
|
|
|
|
ips:
|
|
|
|
- 192.168.20.25
|
|
|
|
- 192.168.20.26
|
|
|
|
- 192.168.20.27
|
2024-09-19 23:10:00 +02:00
|
|
|
|
2024-10-07 20:56:12 +02:00
|
|
|
k3s_db_connection_string: "postgres://{{ db.user }}:{{ db.password }}@{{ k3s.db.ip }}:{{ k3s.db.default_port }}/{{ db.name }}"
|