Some docs incorrect v1.18 kubectl run command (#20784)

* use "kubectl create deploy" instead of "kubectl run"

* omit whitspace fix

* omit whitspace fix

* avoid shorthand
This commit is contained in:
iaoiui
2020-05-09 11:27:52 +09:00
committed by GitHub
parent 9c8e3c5130
commit af50366896
3 changed files with 6 additions and 3 deletions
@@ -268,7 +268,8 @@ kubectl get pods
Production likes to run cattle, so let's create some cattle pods.
```shell
kubectl run cattle --image=k8s.gcr.io/serve_hostname --replicas=5
kubectl create deployment cattle --image=k8s.gcr.io/serve_hostname
kubectl scale deployment cattle --replicas=5
kubectl get deployment
```