In this scenario you learned about two ways how you can implement the different Health Probes which have meaning to Kubernetes:
- A readiness probes for indicating when your application is ready to serve or whether is should be excluded from the route.
- A liveness probe which causes a container to be restart if it fails.
Much more information, like how to to tune the check ramp up time or the check intervals can be found in the Kubernetes Patterns book. Also don't forget to check out the examples at the books' example GitHub repository.