From the course: Debugging Kubernetes

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Solving failing Pod readiness checks

Solving failing Pod readiness checks - Kubernetes Tutorial

From the course: Debugging Kubernetes

Solving failing Pod readiness checks

- [Instructor] Your Pod is running, and everything looks good. However, you notice that some of the Pods containers aren't ready like shown here. What does that mean and should we be concerned? Kubernetes interprets Pods that are not ready as Pods that are unable to accept incoming traffic. To prevent other services from hammering this container while it can't serve traffic, Kubernetes will not send any traffic to services that are connected to these Pods. We'll learn more about services and how to troubleshoot them later in this course. This is why the concept of readiness within Kubernetes is important. Readiness within a Pod is defined primarily by Readiness Probes. Just like the Liveness Probes that we saw earlier, the Readiness Probe property is defined within the Pod's Pod specification or Pod spec. Also like Liveness Probes, you can create multiple types, though, again, we'll only see an example of an exec-based probe. You'll want to make sure that the probe created for the Pod…

Contents