Follow the logs of a pod
Streams the pod's logs as they are written, until you press Ctrl+C.
kubectl logs -f podEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/kubectl-logs.md), licensed under CC BY 4.0.