Add HAProxy as internal loadbalancer (#4480)

This commit is contained in:
Andreas Krüger
2019-04-10 14:56:18 +02:00
committed by Kubernetes Prow Robot
parent 27958e4247
commit 5e0249ae7c
14 changed files with 163 additions and 23 deletions

View File

@@ -20,13 +20,15 @@ bin_dir: /usr/local/bin
# port: 1234
## Internal loadbalancers for apiservers
# loadbalancer_apiserver_localhost: true
loadbalancer_apiserver_localhost: true
loadbalancer_apiserver_type: haproxy
## Local loadbalancer should use this port
## And must be set port 6443
nginx_kube_apiserver_port: 6443
## If nginx_kube_apiserver_healthcheck_port variable defined, enables proxy liveness check.
nginx_kube_apiserver_healthcheck_port: 8081
loadbalancer_apiserver_port: 6443
## If loadbalancer_apiserver_healthcheck_port variable defined, enables proxy liveness check for nginx.
loadbalancer_apiserver_healthcheck_port: 8081
### OTHER OPTIONAL VARIABLES
## For some things, kubelet needs to load kernel modules. For example, dynamic kernel services are needed