- Home
- All questions
- Question 892
CKA study material · question 892 of 1000
A Pod has written 40 MiB of logs on a node rotating at 10 MiB. How much can kubectl logs return?
Show the answer
Answer: B. At most 10 MiB, from the newest file only
kubectl logs reads the newest file only, so a Pod that has written well past the rotation size returns at most one file; earlier output must come from a log aggregator or from the node.
Source: Logging Architecture (Kubernetes) — Pod and container logs › Log rotation