Merge pull request #26104 from andrzejsydor/patch-4

Add example of using `xargs`
This commit is contained in:
Kubernetes Prow Robot
2021-02-01 17:00:27 -08:00
committed by GitHub
@@ -91,6 +91,7 @@ Because `kubectl` outputs resource names in the same syntax it accepts, it's eas
```shell
kubectl get $(kubectl create -f docs/concepts/cluster-administration/nginx/ -o name | grep service)
kubectl create -f docs/concepts/cluster-administration/nginx/ -o name | grep service | xargs -i kubectl get {}
```
```shell