Skip to content

Commit 7d1f79f

Browse files
dixudxsteveperry-53
authored andcommitted
remove field-selector from 1.8 (kubernetes#6671)
1 parent ccc568c commit 7d1f79f

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

docs/reference/kubectl/cheatsheet.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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

docs/reference/kubectl/overview.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff 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.

0 commit comments

Comments
 (0)