💾 Archived View for freeshell.de › tldr › kubectl-logs.gmi captured on 2023-11-14 at 09:49:09. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Show logs for containers in a pod.
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).