Pod phases and container states · Question 11 of 12

A Deployment starts a container that does its work and exits with exit code 0. What shows up after a while?

2 answers are correct. Hard Created with AI

Show answer

Answer

  • B The status alternates between Completed and CrashLoopBackOff
  • D The number of restarts keeps rising

Explanation

Deployments enforce restartPolicy Always, so even a cleanly exited container is restarted. For tasks that are meant to finish, you use a Job.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications