Interview Prep/Real-World Interview/Kubernetes, GitOps & deployment strategy

How did you configure health checks and probes?

BeginnerBehavioralKubernetes, GitOps & deployment strategy
Answer

Good answer looks like → "Readiness probe on /ready that checks the app can serve, including its database connection pool; liveness probe on /healthz that only checks the process isn't stuck, never dependencies, so a database outage doesn't restart every pod. A startup probe for the Java service with a slow boot, so liveness didn't kill it during startup."

Follow-ups to expect → What happens if liveness checks the database? How did you choose timeouts?

Red flags → Identical liveness and readiness probes hitting a dependency.

All Real-World Interview questions Roadmap: Interview readiness

More on Kubernetes, GitOps & deployment strategy