Logs für Container in einem Pod anzeigen. Weitere Informationen: https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs.
kubectl logs {{pod_name}}
kubectl logs --container {{container_name}} {{pod_name}}
kubectl logs --all-containers={{true}} {{pod_name}}
kubectl logs --follow {{pod_name}}
10s
, 5m
, or 1h
:kubectl logs --since={{relative_time}} {{pod_name}}
kubectl logs --tail={{10}} {{pod_name}}