Interview Prep/Kubernetes/Reliability & Rollouts

How do you tune probes for a slow-starting JVM app?

IntermediateProductionReliability & Rollouts
Answer

Use a startupProbe with a generous budget (failureThreshold: 30, periodSeconds: 10 gives 5 minutes) so liveness does not kill it mid-boot, then a tight liveness and readiness. Also give enough CPU request because JVM startup is CPU-bound, and consider CDS/AOT or lower JVM heap flags (-XX:MaxRAMPercentage).

All Kubernetes questions

More on Reliability & Rollouts