Maud  Rosenbaum

Maud Rosenbaum

1601129160

How to Troubleshoot a Kubernetes Cluster- CKA Exam Preparation Series

So, in this post, I will help you to understand the internal working of Kubernetes and give you some tips which will help you to navigate issues in Kubernetes.

This is one of the numerous posts by TechCommanders in a series for studying for the Certified Kubernetes Administrator (CKA) Exam.

Become a Certified Kubernetes Administrator (CKA)!

Let’s start with understanding what are the main reasons for the failure of your Pods.

  • There can be errors in the configuration resources like deployment and services.
  • There might be problems in your code.

So, if the case is former the container will not start whereas in the latter the instance will start but the application code will fail. We will discuss both the cases further in this article.

The prerequisite for this article is kubectl command line to interact with your Kubernetes cluster.

So, let’s start with the tips

Observe your pods.

Check the status of Pods and verify its Running or Ready. You can use the following command to check all the pods.

#kubernetes-cluster #kubernetes #devops #containers #developer

How to Troubleshoot a Kubernetes Cluster- CKA Exam Preparation Series