HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

minikube — Run Kubernetes locally. More information: <https://minikube.sigs.k8s.io/docs/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandrunminikubeclimoreinformationkuberneteslocally

Problem

How to use the minikube command: Run Kubernetes locally. More information: <https://minikube.sigs.k8s.io/docs/>.

Solution

minikube — Run Kubernetes locally. More information: <https://minikube.sigs.k8s.io/docs/>.

Start the cluster:
minikube start


Get the IP address of the cluster:
minikube ip


Access a service named my_service exposed via a node port and get the URL:
minikube service {{my_service}} --url


Open the Kubernetes dashboard in a browser:
minikube dashboard


Stop the running cluster:
minikube stop


Delete the cluster:
minikube delete


Connect to LoadBalancer services:
minikube tunnel

Code Snippets

Start the cluster

minikube start

Get the IP address of the cluster

minikube ip

Access a service named `my_service` exposed via a node port and get the URL

minikube service {{my_service}} --url

Open the Kubernetes dashboard in a browser

minikube dashboard

Stop the running cluster

minikube stop

Context

tldr-pages: common/minikube

Revisions (0)

No revisions yet.