- Home
- All questions
- Question 863
CKA study material · question 863 of 1000
Which two situations call for an ephemeral debug container rather than kubectl exec? Choose two.
Show the answer
Answer: A. The container has already crashed
C. The image is distroless and has no shell
Ephemeral containers exist for exactly the cases exec cannot handle: a crashed container, or an image with no debugging utilities. Multiple containers and other namespaces are handled with flags.
Source: Debug Running Pods (Kubernetes) — Debugging with an ephemeral debug container