Skip to content

Commit c11c8b3

Browse files
committed
run command is deprecated
can't not create deployment with kubectl run.
1 parent 0854666 commit c11c8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/en/docs/concepts/cluster-administration/manage-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ We'll guide you through how to create and update applications with Deployments.
427427
Let's say you were running version 1.14.2 of nginx:
428428

429429
```shell
430-
kubectl run my-nginx --image=nginx:1.14.2 --replicas=3
430+
kubectl create deployment my-nginx --image=nginx:1.14.2
431431
```
432432
```shell
433433
deployment.apps/my-nginx created

0 commit comments

Comments
 (0)