...
Code Block | ||||
---|---|---|---|---|
| ||||
global ... defaults ... #--------------------------------------------------------------------- # main frontend which proxys to the backends #--------------------------------------------------------------------- frontend kubernetes bind 172.20.233.180:6443 option tcplog mode tcp default_backend kubernetes-master-nodes #--------------------------------------------------------------------- # static backend for serving up images, stylesheets and such #--------------------------------------------------------------------- backend kubernetes-master-nodes mode tcp balance roundrobin option tcp-check server k8smaster1 172.20.233.181:6443 check fall 3 rise 2 server k8smaster2 172.20.233.182:6443 check fall 3 rise 2 server k8smaster3 172.20.233.183:6443 check fall 3 rise 2 |
> sudo systemctl restart haproxy
Troubleshooting
Reset and start all over
...