fix for issue #15214 added --all-namespaces in a command as the result of command will always be "no resources"
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
d58847f0c3
commit
1f4345b57b
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user