| severity | Important |
|---|---|
| category | Reliability |
| online version | https://github.com/Microsoft/PSRule.Rules.Kubernetes/blob/main/docs/rules/en/Kubernetes.Pod.Health.md |
Containers should use liveness and readiness probes.
Just like any other application, container applications may take time to start, fail during startup or operation. Kubernetes provides a way for the cluster to determine if each container is ready to respond to requests. This is accomplished through liveness and readiness probes.
Consider configuring liveness and readiness probes for pod containers.