
- Building a Kubernetes HA cluster, part 1
https://librat.kr/entry/Kubernetes-HA-Cluster-고가용성-클러스터-구축-1 - Building a Kubernetes HA cluster, part 2
https://librat.kr/entry/Kubernetes-HA-Cluster-고가용성-클러스터-구축-2
Building a Kubernetes HA cluster, part 1
Building a Kubernetes HA cluster, part 2
Building an HA cluster, part 3
Through part 2 we have finished building the cluster.
Now we will look at how to expose pods in an HA-cluster environment.
First, in a single-master environment, the way ordinary users reach a service looks like this.

In that case you set the pod’s externa-ip to the master node IP and expose it through the proxy.
For a multi-master setup, it should look like the following.

You have to set it up this way so that users can still reach the service normally even if one master goes down.
For HAProxy, you can follow part 2 to set it up.
Comments 0
A nickname and a password are required. The same password edits or deletes the comment later. Comments appear after a review.