Fix haproxy_bind_port in k8s-ha-api
This commit is contained in:
@ -15,7 +15,7 @@ defaults
|
||||
retries 3
|
||||
|
||||
frontend kubernetes_api
|
||||
bind *:6443
|
||||
bind *:{{ haproxy_bind_port }}
|
||||
default_backend k8s_masters
|
||||
|
||||
backend k8s_masters
|
||||
|
@ -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"}
|
||||
|
Reference in New Issue
Block a user