Merge pull request #21537 from Cweiping/remove_kubectl_run_command_deprecated_zh

deprecated kubectl run command flag replicas for zh
This commit is contained in:
Kubernetes Prow Robot
2020-06-19 21:02:40 -07:00
committed by GitHub
4 changed files with 19 additions and 13 deletions
@@ -631,7 +631,7 @@ Let's say you were running version 1.7.9 of nginx:
假设您正运行的是 1.7.9 版本的 nginx
```shell
kubectl run my-nginx --image=nginx:1.7.9 --replicas=3
kubectl create deployment my-nginx --image=nginx:1.7.9
```
```shell
deployment.apps/my-nginx created
@@ -729,7 +729,7 @@ 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
```
```shell