Difference between revisions of "Minikube"
From John Freier
Line 33: | Line 33: | ||
minikube dashboard | minikube dashboard | ||
+ | |||
+ | '''SSH''' | ||
+ | minikube ssh | ||
+ | |||
+ | '''ip''' | ||
+ | minikube ip | ||
== Ingress == | == Ingress == | ||
You need to enable ingress. | You need to enable ingress. | ||
minikube addons enable ingress | minikube addons enable ingress |
Revision as of 16:21, 12 April 2022
Minikube is an application that sets up a local single node Kubernetes cluster.
Start Minikube
minikube start
Stop Minikube
minikube stop
Clean up Minikube
minikube delete
Pull Local Images
Pull images from localhost podman
eval $(minikube podman-env)
Pull images from localhost Docker
eval $(minikube docker-env)
Also we need to set the ImagePullPolicy to Never in order to use local docker images.
To get an image inside minikube.
minikube cache add [image-name]:[tag]
or this might work, haven't tried yet.
minikube image load my_image
Dashboard
This starts up a dashboard to show all the different items.
minikube dashboard
SSH
minikube ssh
ip
minikube ip
Ingress
You need to enable ingress.
minikube addons enable ingress