diff --git a/pages/common/kubectl-logs.md b/pages/common/kubectl-logs.md index 035b629f5d..25e3b64586 100644 --- a/pages/common/kubectl-logs.md +++ b/pages/common/kubectl-logs.md @@ -19,10 +19,6 @@ `kubectl logs --follow {{pod_name}}` -- Stream logs for a specified container in a pod: - -`kubectl logs --follow --container {{container_name}} {{pod_name}}` - - Show pod logs newer than a relative time like `10s`, `5m`, or `1h`: `kubectl logs --since={{relative_time}} {{pod_name}}` @@ -30,3 +26,7 @@ - Show the 10 most recent logs in a pod: `kubectl logs --tail={{10}} {{pod_name}}` + +- Show all pod logs for a given deployment: + +`kubectl logs deployment/{{deployment_name}}`