提交 7e9f7c12 编写于 作者: R RA489

examples doc uses deprecated "kubectl run" cmd

上级 fc8e032b
......@@ -18,11 +18,11 @@ Access the Kubernetes Dashboard running within the minikube cluster:
Once started, you can interact with your cluster using `kubectl`, just like any other Kubernetes cluster. For instance, starting a server:
`kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.4 --port=8080`
`kubectl create deployment hello-minikube --image=k8s.gcr.io/echoserver:1.4`
Exposing a service as a NodePort
`kubectl expose deployment hello-minikube --type=NodePort`
`kubectl expose deployment hello-minikube --type=NodePort --port=8080`
minikube makes it easy to open this exposed endpoint in your browser:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册