2025-03-14 21:59:59 -06:00
|
|
|
# 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`
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
- Access a service named `my_service` exposed via a node port and get the URL:
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
`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`
|