![]() ![]() # We can see that the pod is now Running and we will now be able to curl it: $ curl $(minikube service hello-minikube -url ) # We can see that the pod is still being created from the ContainerCreating status $ kubectl get pod Hello-minikube-3383150820-vctvh 1/1 ContainerCreating 0 3s ![]() # To check whether the pod is up and running we can use the following: $ kubectl get pod # 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. $ kubectl expose deployment hello-minikube -type =NodePort $ kubectl run hello-minikube -image =gcr.io/google_containers/echoserver:1.4 -port =8080 Note that the IP below is dynamic and can change. If you want to change the VM driver add the appropriate -vm-driver=xxx flag to minikube start. Enabling CNI (Container Network Interface).Minikube supports Kubernetes features such as:.Minikube runs a single-node Kubernetes cluster inside a VM on your laptop for users looking to try out Kubernetes or develop with it day-to-day. ![]() Minikube is a tool that makes it easy to run Kubernetes locally. Edit This Page Running Kubernetes Locally via Minikube ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |