In the examples so far, we have seen how to detect different health checks scenarios. One of the greatest advantages of running a Kubernetes native environment is that you can react automatically to changes in an application's status. More specifically, it is possible to probe the following checks through the application's deployment descriptors:
- Liveness probe: Kubernetes provides a liveness probe to determine whether the container that it's been configured in is still running. Should the liveness probe fail, the kubelet agent kills and restarts the container.
- Readiness probe: Kubernetes provides the readiness probe to signal that an application is temporarily unable to serve traffic, for example, ...