Chapter 2: Getting Information about a Cluster

When you are managing a Kubernetes cluster, it is necessary to know what Kubernetes version it is running on, the details about the master (also called the control plane), any addons installed on the cluster, and the available APIs and resources. As different Kubernetes versions support different API versions for resources, not setting the right/unsupported API version for your, for example, Ingress, will cause the deployment to fail.

In this chapter, we're going to cover the following topics:

  • Cluster information
  • Cluster API versions
  • Cluster API resources

Cluster information

It is always good to know which version of the Kubernetes server (API) is installed for a Kubernetes cluster as you might ...

Get kubectl: Command-Line Kubernetes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.