Merge pull request #5799 from RA489/kctlrunfix
update examples to use "kubectl create"pull/5813/head
commit
519385074f
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue