Do we need liveness and readiness probes in Kubernetes deployments? | by Madeesha’s Tech Space | Jan, 2021 | Medium medium.com
One of the most common question with the Kubernetes deployment is, do we really need liveness or readiness probes? The simple answer to this question is ‘YES’, let’s dive into more details so that you will understand why and how it really depends on your applications. Liveness and readiness are the two main probe types available in Kubernetes. Though their configuration is similar, these two probes have two different meanings to the platform. Liveness probe is used to know when to restart the container. For instance if a container is unresponsive due to deadlocked, critical bit of process may be halted however by restarting the container we can make the application more available, despite the bug. Liveness probes are really benifical in this kind of scenario as it avoids someone to manually restart the failing container.
Report Story