Acing the Certified Kubernetes Administrator Exam cover
welcome to this free extract from
an online version of the Manning book.
to read more
or

8 Troubleshooting Kubernetes

 

This chapter covers

  • How to monitor and view logs in Kubernetes
  • How to determine high CPU or RAM usage in Kubernetes
  • How to resolve common cluster issues in Kubernetes
  • How to analyze network traffic to identify communication issues

As this is the biggest topic (30%) on the CKA exam, we’re going to cover troubleshooting in detail in this chapter. Troubleshooting means fixing issues with applications, control plane components, worker nodes, and the underlying network. When running applications in Kubernetes, problems will arise such as issues with pods, services, and deployments.

8.1 Understanding Application Logs

8.1.1 Container Log Detail

8.1.2 Troubleshooting from inside the container

8.2 Cluster Component Failure

8.2.1 Troubleshooting Cluster Events

8.2.2 Worker Node Failure

8.2.3 Did You Specify the Right Host or Port?

8.2.4 Troubleshooting Kubeconfig

8.3 Network Troubleshooting

8.3.1 Troubleshooting The Config

8.3.2 Troubleshooting Services

8.3.3 Troubleshooting Cluster-wide Communications

8.4 Summary

sitemap