From the course: Debugging Kubernetes
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Debugging missing Pod tolerations and taints - Kubernetes Tutorial
From the course: Debugging Kubernetes
Debugging missing Pod tolerations and taints
- [Instructor] Let's run that describe pods command again. We can do that by typing Control + R, then typing describe pod, and then hitting Enter when we find the command that we ran earlier. In the last video, we talked about something called an untolerated taint. This is another reason why pods might not start. Let's explore this more. Let's run kubectl get pods again. We can see that both pods are still in a Pending state. Now, we know why test-app is in a Pending state, but why is test-app-2 also in a Pending state? Let's run kubectl describe pod test-app-2 to find out. Just like test-app, this pod is failing to be scheduled due to an untolerated taint. However, the taint that's in question here is a little different. Instead of it being something about a control plane, we can see that this debugging.k8s.io/ready taint is untolerated. This taint looks custom-made and is likely our culprit here, but before we fix this, let's learn more about taints and tolerations and why this…
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)
-
-
-