Add example of using xargs

Add example of using `xargs`
This commit is contained in:
andrzejsydor
2021-01-15 10:01:45 +01:00
committed by GitHub
parent 8cf053698d
commit 298432dc36
@@ -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