Commit 7d1f79fa authored by Di Xu's avatar Di Xu Committed by Steve Perry

remove field-selector from 1.8 (#6671)

parent ccc568c9
......@@ -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}'
......
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment