kubernetes / minikube

Run Kubernetes locally
https://minikube.sigs.k8s.io/
Apache License 2.0
29.5k stars 4.89k forks source link

No way to determine CNI images ahead of time #19365

Open thomasjm opened 3 months ago

thomasjm commented 3 months ago

What Happened?

I'd like to be able to programmatically determine the images that will be pulled by a Minikube cluster for different CNI settings. For example, if you enable Calico via --cni=calico, my version of Minikube will currently pull these images:

docker.io/calico/cni:v3.27.3
docker.io/calico/kube-controllers:v3.27.3
docker.io/calico/node:v3.27.3

But these images may change from version to version. AFAICT, they are baked into the Minikube binary and there's no way to determine what they are without examining the code.

Minikube doesn't even print information about the images if you run minikube start with the highest verbosity.

This feature request is for a way to determine these images with the CLI, akin to how minikube addons images ADDON_NAME works. An explicit command would be nice, or perhaps it could print them when you run minikube start --dry-run --cni=calico -v=something.

Attach the log file

-

Operating System

Ubuntu

Driver

Docker

k8s-triage-robot commented 2 weeks ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale