File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -119,9 +119,6 @@ $ kubectl get pods --sort-by='.status.containerStatuses[0].restartCount'
119119$ kubectl get pods --selector=app=cassandra rc -o \
120120 jsonpath='{.items[*].metadata.labels.version}'
121121
122- # Get all running pods in the namespace
123- $ kubectl get pods --field-selector=status.phase=Running
124-
125122# Get ExternalIPs of all nodes
126123$ kubectl get nodes -o jsonpath=' {.items[*].status.addresses[?(@.type=="ExternalIP")].address}'
127124
Original file line number Diff line number Diff line change @@ -242,9 +242,6 @@ $ kubectl get rc,services
242242
243243// List all daemon sets, including uninitialized ones, in plain-text output format.
244244$ kubectl get ds --include-uninitialized
245-
246- // List all pods running on node server01
247- $ kubectl get pods --field-selector=spec.nodeName=server01
248245```
249246
250247` kubectl describe ` - Display detailed state of one or more resources, including the uninitialized ones by default.
You can’t perform that action at this time.
0 commit comments