Open
Description
Copied from https://github.com/StackStorm/k8s-st2/issues/5
Use Kubernetes Livenes and Readiness probes to check if pod container is ready/working or not. For example, st2 services could start, but in fact be in unreachable or "initializing" state, meaning potential loss of requests.
This becomes important as we reach the Production Deployments stage.
There is an issue in to track the implementation progress in StackStorm core: StackStorm/st2#4020 (help wanted!)
Resources
- https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
- How
readinessProbe
differs fromlivenessProbe
: https://www.ianlewis.org/en/using-kubernetes-health-checks