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

CKA study material · question 157 of 1000

A Job sets backoffLimit 5 and activeDeadlineSeconds 100. Three retries have happened when 100 seconds elapse. What occurs?

  1. Two more retries run before the Job fails
  2. The deadline is extended until the retries are used
  3. The running Pods are terminated and the Job is marked Failed
  4. The Job restarts from the beginning
Show the answer

Answer: C. The running Pods are terminated and the Job is marked Failed

activeDeadlineSeconds outranks backoffLimit; once it expires the Pods are killed and the Job fails.

Source: Jobs (Kubernetes) — Job termination and cleanup

Challenge yourself on this topic → Study as cards