Fix haproxy_bind_port in k8s-ha-api

This commit is contained in:
2025-08-23 13:45:12 +03:00
parent 8efad362a0
commit 69638a9a69
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ defaults
retries 3
frontend kubernetes_api
bind *:6443
bind *:{{ haproxy_bind_port }}
default_backend k8s_masters
backend k8s_masters

View File

@ -4,7 +4,7 @@ pkg_list:
- haproxy
- keepalived
haproxy_bind_port: "8443"
haproxy_bind_port: "6443"
haproxy_backend_server:
- { backend_name: "k8s-cr01", backend_ip: "192.168.111.191", backend_port: "6443"}
- { backend_name: "k8s-cr02", backend_ip: "192.168.111.192", backend_port: "6443"}