- Home
- All questions
- Question 369
CKA study material · question 369 of 1000
kubectl exec fails on a distroless image with no shell. What is the alternative?
Show the answer
Answer: C. kubectl debug, adding an ephemeral container
Ephemeral containers added with kubectl debug are the route in when the image carries no debugging tools.
Source: Debug Running Pods (Kubernetes) — Debugging with an ephemeral debug container