run command is deprecated
can't not create deployment with kubectl run.pull/20141/head
parent
0854666f54
commit
c11c8b38c4
content/en/docs/concepts/cluster-administration
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue