Difference between revisions of "Minikube"
From John Freier
| Line 19: | Line 19: | ||
Pull images from localhost Docker | Pull images from localhost Docker | ||
eval $(minikube docker-env) | eval $(minikube docker-env) | ||
| − | |||
Also we need to set the ImagePullPolicy to Never in order to use local docker images. | 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''' | '''Dashboard''' | ||
Revision as of 10:38, 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