QuestionQ28

VerifiedCloud Native Application Architecture Design

After detecting that a container has crashed, Kubernetes can restart it. Which of the following probe types does Kubernetes use to check the container’s response and determine whether it should be restarted?

Explanation

A liveness probe determines whether a container is still healthy and responsive. If it fails the configured number of times, the kubelet treats the container as unhealthy and restarts it. Readiness probes control traffic routing, and startup probes validate initial application startup. Kubernetes documentation: https://kubernetes.io/docs/concepts/workloads/pods/probes/

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!