Open medyagh opened 5 months ago
I would like to work on this
/assign
@NeerajNagure thank you ! look forward to see your contribution
@medyagh I have linked a pr that sets containerd runtime options analogous to that of crio runtime.Can I know whether the environment variable CONTAINERD_MINIKUBE_OPTIONS is correct or not? Also whether my approach to add support is correct or not?
we have support for registry-mirror for docker runtime but not for containerd:
I did this
$ minikube start --container-runtime=containerd --registry-mirror=http://localhost:5000
and then $ minikube ssh $ docker@minikube:~$ ls /etc/containerd/certs.d/
docker.io
According to Gemini to add registry mirror to containerd,
In the code I see we only Start the Docker Container runtime in the provisioner with the registry mirror: https://github.com/medyagh/minikube/blob/375d9c6cbf6d33a1c20d91c886f7f19c5d8b52c2/pkg/provision/ubuntu.go#L111