19.06.2021 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 3 ■ Kubernetes on Google Cloud Platform

To list all the nodes, run the following command:

kubectl.sh get nodes

One controller node and three minion nodes are listed, as shown in Figure 3-38.

Figure 3-38. Listing the Kubernetes cluster nodes

List all the namespaces with the following command:

kubectl.sh get namespaces

The two namespaces default and kube-system are listed, as shown in Figure 3-39.

Figure 3-39. Listing the namespaces

The CPU utilization of the VM instance may be displayed in the console as shown in Figure 3-40.

Figure 3-40. Displaying the graph for CPU Utilization

70

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

Saved successfully!

Ooh no, something went wrong!