Study. uk . com
  1. Home
  2. All questions
  3. Question 162

CKA study material · question 162 of 1000

What is a liveness probe for?

  1. Delaying traffic until a slow application has started
  2. Reporting a container's resource usage
  3. Deciding whether a Pod joins a Service's endpoints
  4. Restarting a container that has wedged into a state it cannot leave
Show the answer

Answer: D. Restarting a container that has wedged into a state it cannot leave

Liveness probes exist to detect and restart a container stuck in a broken state.

Source: Configure Liveness, Readiness and Startup Probes (Kubernetes) — Define a liveness command

Challenge yourself on this topic → Study as cards