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
@@ -494,7 +494,8 @@ kubectl create quota test --hard=count/deployments.extensions=2,count/replicaset
```
```shell
kubectl run nginx --image=nginx --replicas=2 --namespace=myspace
kubectl create deployment nginx --image=nginx --namespace=myspace
kubectl scale deployment nginx --replicas=2 --namespace=myspace
```
```shell