From add7f8e6ba8c3de76974e058f39c0ba27509d4bb Mon Sep 17 00:00:00 2001 From: ialidzhikov Date: Wed, 16 Oct 2019 14:47:21 +0300 Subject: [PATCH] de: Replace deprecated kubectl run Signed-off-by: ialidzhikov --- content/de/docs/setup/minikube.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/de/docs/setup/minikube.md b/content/de/docs/setup/minikube.md index d3041b28b5d66..f4d19ea80c9e1 100644 --- a/content/de/docs/setup/minikube.md +++ b/content/de/docs/setup/minikube.md @@ -52,14 +52,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