CKAD Preparation > Observability - Container Logging > Flashcards
With what command can we see the logs of a running application?
‘kubectl logs -f < pod-name>’
-f streams the logs live
What happens with the logs command if there are multiple containers within a pod?
kubectl logs < pod-name> < container name>