1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 23:02:07 +02:00
tldr/pages/common/minikube.md
Omer Isildak 12b0c99772
minikube: add tunnel example (#10498)
* minikube: add `tunnel` example
2023-07-17 18:34:32 +05:30

533 B

minikube

Tool to run Kubernetes locally. More information: https://github.com/kubernetes/minikube.

  • 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