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 - 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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Troubleshooting Pods that won't fit in the cluster7m 15s
-
(Locked)
Debugging missing Pod tolerations and taints6m 52s
-
(Locked)
Conquering Pods with pending dependencies9m 36s
-
(Locked)
Debugging ImagePullBackOff errors for non-existent images5m 12s
-
(Locked)
Solving network-related ImagePullBackOff errors1m 33s
-
(Locked)
Solving ImagePullBackOff errors related to private registries12m 2s
-
(Locked)
Debugging CrashLoopBackOff errors and crashing Pods8m 39s
-
(Locked)
Debugging failing liveness probes6m 25s
-
(Locked)
Solving failing Pod readiness checks4m 43s
-
(Locked)
Solving slow Pods13m 2s
-
(Locked)
Challenge: A troublemaking deployment1m
-
(Locked)
Solution: A troublemaking deployment7m 7s
-
(Locked)
-
-
-