In this scenario we see how the Health Probe pattern from Kubernetes Patterns is implemented by Kubernetes.
In this example we create a Deployment which exposes a liveness and a readiness probe for allowing Kubernetes to detect the health of your application and whether it's ready to serve its business functionality or whether it might need a restart for restoring from a failure.
After this scenario you know
- how a failing liveness probe triggers Kubernetes to restart your application.
- how a readiness probe enables and disables the access to your service.