A parks department Pod runs an app container that writes error lines and a sidecar that writes access logs—operators need both streams for an outage review. What is the sound multi-container logging model?
Select an answer to reveal the explanation.
Short Explanation
Think of each container as its own radio channel—the app squawks errors on one, the sidecar chats access hits on another. Tune into both when the outage story needs both voices.
Full Explanation
In multi-container Pods, each container has its own stdout/stderr stream. kubectl logs requires a container name when more than one container is present, and both streams may be required for a complete picture. Merging is not automatic; shared-volume file logging is optional and separate from the default kubectl logs path.