replace run with create deployment (#11392)

* replace `run` with `create deployment`

because `kubectl run` is deprecated

* korean

* removing ko files
This commit is contained in:
David Somers-Harris
2018-12-01 05:51:59 +09:00
committed by k8s-ci-robot
parent 1fca2fe97e
commit 1e933a1a96
+2 -2
View File
@@ -71,11 +71,11 @@ tutorial has only one Container. A Kubernetes
Pod and restarts the Pod's Container if it terminates. Deployments are the Pod and restarts the Pod's Container if it terminates. Deployments are the
recommended way to manage the creation and scaling of Pods. recommended way to manage the creation and scaling of Pods.
1. Use the `kubectl run` command to create a Deployment that manages a Pod. The 1. Use the `kubectl create` command to create a Deployment that manages a Pod. The
Pod runs a Container based on the provided Docker image. Pod runs a Container based on the provided Docker image.
```shell ```shell
kubectl run hello-node --image=gcr.io/hello-minikube-zero-install/hello-node --port=8080 kubectl create deployment hello-node --image=gcr.io/hello-minikube-zero-install/hello-node --port=8080
``` ```
2. View the Deployment: 2. View the Deployment: