Diagnostic step 1
Replace the liveness probe with a lightweight, non-blocking endpoint (e.g., /health/liveness that returns 200 immediately) and use a separate readiness probe for deeper checks.
Generated Oct 24, 2026, 9:21:01 AM
Replace the liveness probe with a lightweight, non-blocking endpoint (e.g., /health/liveness that returns 200 immediately) and use a separate readiness probe for deeper checks.
Increase liveness timeoutSeconds to at least 3s and failureThreshold to 5 during rollout; measure impact before fine-tuning downwards.
Adjust JVM and container resources: raise CPU request to avoid throttling and set -XX:MaxGCPauseMillis=200; test with load to validate GC pause distribution.
Instrument GC logs (-Xlog:gc*:file=/tmp/gc.log:time) and collect kubelet/container metrics during bursts to correlate pauses, then iterate on resource vs GC tuning.
If needed, employ provisioned concurrency or more replicas to smooth load and reduce per-pod burstiness.