My containers keep getting OOMKilled—how do I set memory limits correctly for PHP-FPM and Go?
Measure the working set instead of raising the limit; compute max_children against the cap in PHP-FPM and set GOMEMLIMIT plus GOMAXPROCS in Go.
Tag
Deployments, resource limits, health checks and traffic routing with Kubernetes. questions under this tag, answered directly.
3 answered questions carry this tag.
Measure the working set instead of raising the limit; compute max_children against the cap in PHP-FPM and set GOMEMLIMIT plus GOMAXPROCS in Go.
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.