19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 15 ■ Using an HA Master with OpenShift

Alternatively, run the following command to list the cluster info.

kubectl cluster-info

The Kubernetes master URL listed is constructed from the Public DNS of the load balancer as shown

in Figure 15-24.

Figure 15-24. Listing the cluster info

SSH log in to the other master instance and list the nodes with oc get nodes. One of the master nodes

is listed as NotReady, while the other master node is Ready, as shown in Figure 15-25. If the stopped master

is restarted, it is again listed as Ready.

Figure 15-25. Listing nodes, schedulable and non-schedulable

Summary

In this chapter we introduced another platform, called OpenShift, which is a PaaS platform with embedded

Kubernetes. A single master is a single point of failure (SPOF). We discussed creating a high-availability

master with OpenShift. In the next chapter we shall discuss creating a high-availability web site.

353

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!