ja: Replace deprecated kubectl run (#16970)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
869f384784
commit
f351718930
@@ -51,14 +51,14 @@ Creating machine...
|
|||||||
Starting local Kubernetes cluster...
|
Starting local Kubernetes cluster...
|
||||||
```
|
```
|
||||||
```shell
|
```shell
|
||||||
kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080
|
kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.10
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
deployment.apps/hello-minikube created
|
deployment.apps/hello-minikube created
|
||||||
```
|
```
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kubectl expose deployment hello-minikube --type=NodePort
|
kubectl expose deployment hello-minikube --type=NodePort --port=8080
|
||||||
```
|
```
|
||||||
```
|
```
|
||||||
service/hello-minikube exposed
|
service/hello-minikube exposed
|
||||||
|
|||||||
Reference in New Issue
Block a user