Elif
Should I define the healthcheck in the Dockerfile or leave it to Kubernetes probes?
Define readiness, liveness and startup as Kubernetes probes; keep HEALTHCHECK only if the image also runs under Compose, pointing both at one endpoint.
Tag
Deployments, resource limits, health checks and traffic routing with Kubernetes.
2 answered questions carry this tag.
Define readiness, liveness and startup as Kubernetes probes; keep HEALTHCHECK only if the image also runs under Compose, pointing both at one endpoint.
Keep liveness dependency-free and check dependencies in readiness with a cached probe, since liveness restarts the pod while readiness only sheds traffic.