Merge pull request #21707 from Cweiping/remove_kubectl_run_command_deprecated_en_from_dev_1.19

use kubectl create deployment to create deployment with  --replicas and --port
This commit is contained in:
Kubernetes Prow Robot
2020-06-14 06:09:55 -07:00
committed by GitHub
4 changed files with 14 additions and 14 deletions
@@ -494,8 +494,7 @@ kubectl create quota test --hard=count/deployments.extensions=2,count/replicaset
```
```shell
kubectl create deployment nginx --image=nginx --namespace=myspace
kubectl scale deployment nginx --replicas=2 --namespace=myspace
kubectl create deployment nginx --image=nginx --namespace=myspace --replicas=2
```
```shell