Merge pull request #20141 from jjmengze/patch-3
run command is deprecated
This commit is contained in:
@@ -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:
|
Let's say you were running version 1.14.2 of nginx:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl run my-nginx --image=nginx:1.14.2 --replicas=3
|
kubectl create deployment my-nginx --image=nginx:1.14.2
|
||||||
```
|
```
|
||||||
```shell
|
```shell
|
||||||
deployment.apps/my-nginx created
|
deployment.apps/my-nginx created
|
||||||
|
|||||||
Reference in New Issue
Block a user