Troubleshooting cluster components
Troubleshooting cluster components includes the Kubernetes system processes on the master node and worker node. We’ll take a look at some common troubleshooting scenarios in this section and will be starting from a higher-level view.
Inspecting the cluster
Inspecting the cluster and node is usually the first step toward detecting the issues on the control plane. We can do that using the following command:
kubectl cluster-info
The output renders the addresses of the control plane components and services:
Figure 9.2 – Rendering the cluster information
If you want further information for debugging and diagnosis, use the following command:
kubectl cluster-info dump
The preceding command gives an output that is huge and contains a lot of information – hence, we’ve only displayed the key part in the following screenshot:
Figure 9.3 – The Kubernetes cluster...