2018-10-01 13:27:58 -03:00
|
|
|
# minikube
|
|
|
|
|
2024-02-14 17:25:13 -03:00
|
|
|
> Run Kubernetes locally.
|
2024-02-07 17:21:33 -08:00
|
|
|
> More information: <https://minikube.sigs.k8s.io/docs/>.
|
2018-10-01 13:27:58 -03:00
|
|
|
|
|
|
|
- Start the cluster:
|
|
|
|
|
|
|
|
`minikube start`
|
|
|
|
|
|
|
|
- Get the IP address of the cluster:
|
|
|
|
|
|
|
|
`minikube ip`
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Access a service named my_service exposed via a node port and get the URL:
|
2018-10-01 13:27:58 -03:00
|
|
|
|
|
|
|
`minikube service {{my_service}} --url`
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
- Open the Kubernetes dashboard in a browser:
|
2018-10-01 13:27:58 -03:00
|
|
|
|
|
|
|
`minikube dashboard`
|
2020-10-01 03:37:26 -07:00
|
|
|
|
|
|
|
- Stop the running cluster:
|
|
|
|
|
|
|
|
`minikube stop`
|
|
|
|
|
|
|
|
- Delete the cluster:
|
|
|
|
|
|
|
|
`minikube delete`
|
2023-07-17 16:04:32 +03:00
|
|
|
|
|
|
|
- Connect to LoadBalancer services:
|
|
|
|
|
|
|
|
`minikube tunnel`
|