Minikube

From John Freier
Revision as of 15:45, 12 April 2022 by Jfreier (Talk | contribs)

Jump to: navigation, search

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

Ingress

You need to enable ingress.

 minikube addons enable ingress