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 3 ■ Kubernetes on Google Cloud Platform

To list the services, run the following command:

kubectl.sh get --all-namespaces services

The services are listed as shown in Figure 3-36.

Figure 3-36. Listing the services in All Namespaces

To list all the pods, run the following command:

kubectl.sh get --all-namespaces pods

All the pods in all the namespaces are listed, as shown in Figure 3-37.

Figure 3-37. Listing all the pods

69

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

Saved successfully!

Ooh no, something went wrong!