run command is deprecated

can't not create deployment with kubectl run.
pull/20141/head
MengZeLee 2020-04-07 09:28:46 +08:00 committed by MengZn
parent 0854666f54
commit c11c8b38c4
1 changed files with 1 additions and 1 deletions
content/en/docs/concepts/cluster-administration

View File

@ -427,7 +427,7 @@ We'll guide you through how to create and update applications with Deployments.
Let's say you were running version 1.14.2 of nginx:
```shell
kubectl run my-nginx --image=nginx:1.14.2 --replicas=3
kubectl create deployment my-nginx --image=nginx:1.14.2
```
```shell
deployment.apps/my-nginx created