From the course: Debugging Kubernetes

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Troubleshooting Pods that won't fit in the cluster

Troubleshooting Pods that won't fit in the cluster - Kubernetes Tutorial

From the course: Debugging Kubernetes

Troubleshooting Pods that won't fit in the cluster

- [Instructor] You just finished writing a Kubernetes manifest for your application and want to deploy it. You run kubectl apply -f against your manifest and Kubernetes seems to accept it. You then run kubectl get pods to see your glorious workload, and you see the app's single pod show up in the pending state. So you wait, and wait, and wait. 24 days later, the pod is still in a pending state. What gives? This is a common situation that Kubernetes operators find themselves in. In this video, we'll discuss three leading causes behind why this happens. There are three reasons why you might find yourself in this situation. Either there aren't any nodes in your cluster with enough free capacity for your pod, your pod has a toleration that no nodes are tainted with, or your pod is waiting on some other resource, like a persistent volume claim to be fulfilled. The many whys approach that we learned about earlier in this course works great for troubleshooting and solving this kind of…

Contents