mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 18:42:38 +00:00
38 lines
614 B
Plaintext
38 lines
614 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|