Debugging Kubernetes issues
In this section, we'll be discussing some of the Kubernetes troubleshooting concerns:
- The first step to debug the Kubernetes cluster is to list the number of nodes, using the following command:
$ kubetl get nodes
Also, verify that all nodes are in the ready state.
- Look at the logs in order to figure out issues in the deployed Kubernetes cluster
master: var/log/kube-apiserver.log - API Server, responsible for serving the API /var/log/kube-scheduler.log - Scheduler, responsible for making scheduling decisions /var/log/kube-controller-manager.log - Controller that manages replication controllers Worker nodes: /var/log/kubelet.log - Kubelet, responsible for running containers on the node /var/log/kube-proxy.log - Kube ...
Get Troubleshooting Docker 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.