How to use HAProxy to make your K3s API Server highly available

preview_player
Показать описание
What does High Availability (HA) mean for a K3s Kubernetes cluster? Previously we discovered that our control plane was configured to be HA - we have three controller nodes, each with all of the required control plane components. The one thing that was missing was a load balancer external to our cluster. Without this, if our main controller went down we would be unable to access the Kubernetes API Server. We chose HAProxy as our load balancing solution. Nginx, Traefik, or any other load balancer would also work. Traffic now enters our network and then routes through HAProxy which chooses one of the three available control plane nodes.

Рекомендации по теме
Комментарии
Автор

Live the video gained a Sub. The speed that you all go over this content is great!!!

TheKingofparis
Автор

If you are using etcd on the controllers, then you need majority of controllers in the cluster to be online for the cluster to work, thus you need at least 3 servers in a cluster to survive one server going offline. 5 controllers gives you option to loose 2.

danibjor
Автор

Hey guys good stuff but I have issue can u guide in that regard
The requirement is like this
Haproxy is installed on one server my sql on other two servers, what my requirement is I want read on one mysql server and read and write on other myself server how to configure to make it happen

honeysatwika