DevOps & Cloud

Kubernetes Readiness vs Liveness: A Simple Example for DevOps Interviews

Huwell Consultancy editorial2 min read

A running process is not always ready to serve users. This is why Kubernetes has different health checks. Understanding their purpose is useful for DevOps and cloud engineering interviews in Malta.

Three questions, three checks

  • Startup: has the application finished starting? A configured startup probe holds back readiness and liveness checks until it succeeds.
  • Readiness: should this instance receive traffic through matching Services now? A failed readiness check marks it not ready; it does not itself restart the container.
  • Liveness: is the application in a state where a restart is needed? Repeated failures beyond the configured threshold can trigger a container restart.

These distinctions come from the official Kubernetes probe documentation. Exact behaviour also depends on the configured checks and restart policy.

Work through a slow start

Imagine a service that loads reference data before accepting requests. Ask what each check should observe during that period. A startup allowance can give it time to initialise. Readiness should reflect whether it can serve its intended traffic. A liveness check should not repeatedly restart a service that is simply still starting normally.

A useful interview exercise

Draw a timeline with “starting”, “serving” and “temporarily unable to serve”. Explain what you would expect to happen in each state. Then ask what evidence would justify a restart. Avoid treating every dependency failure as proof that the application itself is stuck.

What to discuss with the team

Ask who owns the health endpoints, which failure scenarios are tested and how probe failures appear in monitoring. The useful skill is choosing a signal that matches the problem, rather than copying the same check into every field.

Sources and further reading

Browse current technology jobs in Malta →

EXPLORE THE NEXT STEP

Discuss the work you want to do.

Browse current technology vacancies with Huwell Consultancy and ask us about the responsibilities that matter to you.

Explore opportunities
KEEP EXPLORING

More guidance for your next decision

DevOps & Cloud

CrashLoopBackOff Is a Clue, Not a Root Cause

CrashLoopBackOff describes repeated container failures with a delay between restart attempts. It does not name the underlying fault. In a DevOps interview,…

29 Nov 2026 · 2 min read