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

CKA study material · question 605 of 1000

A Pod references a Secret that does not exist yet. What happens by default?

  1. The Pod starts and the volume is left empty
  2. None of the Pod's containers start, and the kubelet retries and reports an Event
  3. The Pod is rejected at admission
  4. The Pod starts, and the Secret is injected when it appears
Show the answer

Answer: B. None of the Pod's containers start, and the kubelet retries and reports an Event

Secret references are required unless marked optional, so the Pod waits with no containers running while the kubelet retries and reports the problem as an Event.

Source: Secrets (Kubernetes) — Working with Secrets › Optional Secrets

Challenge yourself on this topic → Study as cards