- Home
- All questions
- Question 427
CKA study material · question 427 of 1000
A sidecar container keeps restarting even though the Pod's restartPolicy is OnFailure. Why?
Show the answer
Answer: C. A sidecar is an init container whose own restartPolicy is Always
Sidecars are init containers with a container-level restartPolicy of Always, so they ignore the Pod-level policy.
Source: Pod Lifecycle (Kubernetes) — Container restart policy