💾 Archived View for freeshell.de › tldr › kubectl-logs.gmi captured on 2022-06-11 at 22:05:38. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

kubectl logs

Show logs for containers in a pod.

More information.

kubectl logs {pod_name}
kubectl logs --container {container_name} {pod_name}
kubectl logs --all-containers={true} {pod_name}
kubectl logs --follow {pod_name}
kubectl logs --follow --container {container_name} {pod_name}
kubectl logs --since={relative_time} {pod_name}
kubectl logs --tail={10} {pod_name}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY