Kubernetes Views 3

Building a Kubernetes HA cluster, part 3

Building a Kubernetes HA cluster, part 3 image 1

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.

Building a Kubernetes HA cluster, part 3 image 2


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.

Building a Kubernetes HA cluster, part 3 image 3


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.

Reactions

Comments 0

A nickname and a password are required. The same password edits or deletes the comment later. Comments appear after a review.

Comments appear after a review. The password is used again to edit or delete.