2018-10-01 17:27:58 +01:00
|
|
|
# minikube
|
|
|
|
|
|
|
|
> Tool to run Kubernetes locally.
|
2019-06-04 10:25:11 +01:00
|
|
|
> More information: <https://github.com/kubernetes/minikube>.
|
2018-10-01 17:27:58 +01:00
|
|
|
|
|
|
|
- Start the cluster:
|
|
|
|
|
|
|
|
`minikube start`
|
|
|
|
|
|
|
|
- Get the IP address of the cluster:
|
|
|
|
|
|
|
|
`minikube ip`
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Access a service named my_service exposed via a node port and get the URL:
|
2018-10-01 17:27:58 +01:00
|
|
|
|
|
|
|
`minikube service {{my_service}} --url`
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Open the Kubernetes dashboard in a browser:
|
2018-10-01 17:27:58 +01:00
|
|
|
|
|
|
|
`minikube dashboard`
|
2020-10-01 11:37:26 +01:00
|
|
|
|
|
|
|
- Stop the running cluster:
|
|
|
|
|
|
|
|
`minikube stop`
|
|
|
|
|
|
|
|
- Delete the cluster:
|
|
|
|
|
|
|
|
`minikube delete`
|