- Home
- All questions
- Question 487
CKA study material · question 487 of 1000
How are logs pulled through a Deployment rather than a named Pod?
Show the answer
Answer: B. kubectl logs deploy/<name>
kubectl logs deploy/<name> dumps Pod logs through the Deployment without needing a Pod name.
Source: kubectl Quick Reference (Kubernetes) — Interacting with Deployments and Services