ja: Replace deprecated kubectl run (#16970)
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
parent
869f384784
commit
f351718930
|
@ -51,14 +51,14 @@ Creating machine...
|
|||
Starting local Kubernetes cluster...
|
||||
```
|
||||
```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
|
||||
```
|
||||
|
||||
```shell
|
||||
kubectl expose deployment hello-minikube --type=NodePort
|
||||
kubectl expose deployment hello-minikube --type=NodePort --port=8080
|
||||
```
|
||||
```
|
||||
service/hello-minikube exposed
|
||||
|
|
Loading…
Reference in New Issue