We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a620a3 commit 8bb6e02Copy full SHA for 8bb6e02
staging/src/k8s.io/kubectl/pkg/cmd/logs/logs.go
@@ -60,6 +60,9 @@ var (
60
# Return snapshot logs from pod nginx with multi containers
61
kubectl logs nginx --all-containers=true
62
63
+ # Return snapshot logs from all pods in the deployment nginx.
64
+ kubectl logs deployment/nginx --all-pods=true
65
+
66
# Return snapshot logs from all containers in pods defined by label app=nginx
67
kubectl logs -l app=nginx --all-containers=true
68
0 commit comments