parent
a1a3e1d7ed
commit
05a559bf3e
|
@ -48,9 +48,9 @@ Creating machine...
|
||||||
Starting local Kubernetes cluster...
|
Starting local Kubernetes cluster...
|
||||||
|
|
||||||
$ kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080
|
$ kubectl run hello-minikube --image=k8s.gcr.io/echoserver:1.10 --port=8080
|
||||||
deployment "hello-minikube" created
|
deployment.apps/hello-minikube created
|
||||||
$ kubectl expose deployment hello-minikube --type=NodePort
|
$ kubectl expose deployment hello-minikube --type=NodePort
|
||||||
service "hello-minikube" exposed
|
service/hello-minikube exposed
|
||||||
|
|
||||||
# We have now launched an echoserver pod but we have to wait until the pod is up before curling/accessing it
|
# We have now launched an echoserver pod but we have to wait until the pod is up before curling/accessing it
|
||||||
# via the exposed service.
|
# via the exposed service.
|
||||||
|
@ -72,7 +72,7 @@ real path=/
|
||||||
$ kubectl delete services hello-minikube
|
$ kubectl delete services hello-minikube
|
||||||
service "hello-minikube" deleted
|
service "hello-minikube" deleted
|
||||||
$ kubectl delete deployment hello-minikube
|
$ kubectl delete deployment hello-minikube
|
||||||
deployment "hello-minikube" deleted
|
deployment.extensions "hello-minikube" deleted
|
||||||
$ minikube stop
|
$ minikube stop
|
||||||
Stopping local Kubernetes cluster...
|
Stopping local Kubernetes cluster...
|
||||||
Stopping "minikube"...
|
Stopping "minikube"...
|
||||||
|
|
Loading…
Reference in New Issue