Add example of using `xargs`

Add example of using `xargs`
pull/26104/head
andrzejsydor 2021-01-15 10:01:45 +01:00 committed by GitHub
parent 8cf053698d
commit 298432dc36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
content/en/docs/concepts/cluster-administration

View File

@ -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