feat: 声明 sandbox 双节点 K3s 集群
This commit is contained in:
@@ -71,3 +71,20 @@ vyos_ospf_router_id: "192.168.10.2"
|
||||
vyos_ospf_area: "0"
|
||||
vyos_ospf_networks:
|
||||
- "192.168.10.0/24"
|
||||
|
||||
# Stable K3s datastore endpoint. Only the declared writable primary is present
|
||||
# in the backend; PostgreSQL health checks must never be treated as promotion.
|
||||
vyos_postgresql_listen_address: "10.60.0.1"
|
||||
vyos_postgresql_port: 5432
|
||||
vyos_postgresql_primary_address: "10.60.0.11"
|
||||
|
||||
# Stable API endpoint for the two-node sandbox K3s control plane. HAProxy owns
|
||||
# this /32 on the existing labnet interface and performs only TCP health checks.
|
||||
vyos_sandbox_k3s_api_address: "10.60.0.13"
|
||||
vyos_sandbox_k3s_api_interface: eth1
|
||||
vyos_sandbox_k3s_api_port: 6443
|
||||
vyos_sandbox_k3s_servers:
|
||||
- name: sandbox1
|
||||
address: "10.60.0.11"
|
||||
- name: sandbox2
|
||||
address: "10.60.0.12"
|
||||
|
||||
Reference in New Issue
Block a user