Skip to content

Commit

Permalink
remove field-selector from 1.8 (#6671)
Browse files Browse the repository at this point in the history
  • Loading branch information
dixudx authored and steveperry-53 committed Dec 15, 2017
1 parent ccc568c commit 7d1f79f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions docs/reference/kubectl/cheatsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,6 @@ $ kubectl get pods --sort-by='.status.containerStatuses[0].restartCount'
$ kubectl get pods --selector=app=cassandra rc -o \
jsonpath='{.items[*].metadata.labels.version}'

# Get all running pods in the namespace
$ kubectl get pods --field-selector=status.phase=Running

# Get ExternalIPs of all nodes
$ kubectl get nodes -o jsonpath='{.items[*].status.addresses[?(@.type=="ExternalIP")].address}'

Expand Down
3 changes: 0 additions & 3 deletions docs/reference/kubectl/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,6 @@ $ kubectl get rc,services

// List all daemon sets, including uninitialized ones, in plain-text output format.
$ kubectl get ds --include-uninitialized

// List all pods running on node server01
$ kubectl get pods --field-selector=spec.nodeName=server01
```

`kubectl describe` - Display detailed state of one or more resources, including the uninitialized ones by default.
Expand Down

0 comments on commit 7d1f79f

Please sign in to comment.