Skip to content
Permalink
Browse files

fix for issue #15214 (#15215)

fix for issue #15214  added --all-namespaces in a command as the result of command will always be "no resources"
  • Loading branch information...
shub-asa1 authored and k8s-ci-robot committed Jul 1, 2019
1 parent d58847f commit 1f4345b57b6fd1eebc6238b7d5d24086d24c5bc7
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/en/docs/concepts/overview/working-with-objects/field-selectors.md
@@ -56,5 +56,5 @@ kubectl get pods --field-selector=status.phase!=Running,spec.restartPolicy=Alway
You use field selectors across multiple resource types. This `kubectl` command selects all Statefulsets and Services that are not in the `default` namespace:

```shell
kubectl get statefulsets,services --field-selector metadata.namespace!=default
kubectl get statefulsets,services --all-namespaces --field-selector metadata.namespace!=default
```

0 comments on commit 1f4345b

Please sign in to comment.
You can’t perform that action at this time.