4 Comments
User's avatar
Giuseppe Santoro 🚢's avatar

A couple of things missing from this description that might help a reader.

The readiness probe is supposed to account for an application not being ready to serve a request when it is launched.

Think of an application loading data from a disk or just taking a couple of seconds to initialise.

That's why it has a parameter `initialDelaySeconds` that only check for readiness after a certain number of seconds.

If a pod is not ready, it won't receive traffic but the controller won't do anything else about it.

There are other probes like the Liveness probe. This probe checks instead if the application is running and healthy and if not it restarts the pod.

Expand full comment
Mutha Nagavamsi's avatar

Thank you for adding more value to the post. I just wanted to keep it simple and stick to the diagram I made.

Thank you once again. Totally appreciate it.

Expand full comment
Giuseppe Santoro 🚢's avatar

I get it that you wanted to keep it simple but I think it wasn't giving a complete picture.

Diagram is great. I reposted on my socials

Expand full comment
Mutha Nagavamsi's avatar

Thank you so much.

Expand full comment