update managing-deployments.md

change k to kubectl
reviewable/pr2047/r1
foliage 2016-12-25 17:39:40 +08:00 committed by GitHub
parent 67be6311ee
commit 6e8c728e91
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ service "my-nginx-svc" deleted
Because `kubectl` outputs resource names in the same syntax it accepts, it's easy to chain operations using `$()` or `xargs`:
```shell
$ kubectl get $(k create -f docs/user-guide/nginx/ -o name | grep service)
$ kubectl get $(kubectl create -f docs/user-guide/nginx/ -o name | grep service)
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
my-nginx-svc 10.0.0.208 80/TCP 0s
```