-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--image-repository + coredns pulling issue due to namespace removed #13324
Comments
The coredns upgrade was a disaster. Not sure if the upstream "special case" should be kept or ignored. There seemed to be a PR for it, but not sure if a fix ever got merged ? It should probably just Not sure if there was ever an explanation for the subdirectory, maybe an accident pulling from
|
Thanks for you reply. I will double check if k8s.gcr.io was not removed from our virtual registry. After looking at all the log. Because the option of insecure registry was proposed, I supposed that I can use an http repository. However I find a lot of errors related to https. I tried to configure a self signed certificate but it seems to be KO. Can we really use a private registry without a certificate ? Maybe this issue trigger the fallback on docker.io ? with the wrong namespace. Regards I0111 08:39:00.097257 8111 command_runner.go:127] ! curl: (60) SSL certificate problem: self signed certificate stderr: curl failed to verify the legitimacy of the server and therefore could not |
Forget my last message, httpS doesn't seems a blocker. Just to let you know, I made a dirty hack as workaround with a reverse proxy with some url rewriting and it works. So the main issue/bug is definitely this repository url for coredns. Thanks, |
Eventually might have to provide a place to put custom SSL certs, including corporate SSL proxies that steams all your mail.
|
I have the same problem, but unfortunately in my company setting, I cannot easily use the hack, that @Hugo54 did. |
@phvogtrbi I had also to build a local docker repostitory to be connected to our compagny repository (with auth & https). And then I used it on my minikube with docker engine configured on it AND the proxy for the domain hack. But I finaly got to many problems so I surrended. I use now services on cloud ... |
I pulled + tagged + pushed all necessary docker images on my own repo and used this in --image-repository. This includes tagging the coredns/coredns also as only coredns. This way minikube starts. The only drawback is: I cannot change this repo later, so for example to install an addon, I have to do the same pull + tag + push again. |
I believe this issue was incorrectly closed despite the bug never having been fixed. |
What Happened?
Hi,
When I set the image-repostitory, after pulling a bunch of image, the process crash on the coredns image. After activate the logging it seems a bug during string append or something like that.
The correct repository image name is grc.io/coredns/coredns:v1.8.4 but when you set your repostory it become x.x.x.x/coredns:v1.8.4. Then the image is not found.
Attach the log file
[preflight] Pulling images required for setting up a Kubernetes cluster
[preflight] This might take a minute or two, depending on the speed of your internet connection
[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'
stderr:
[WARNING FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist
[WARNING SystemVerification]: failed to parse kernel config: unable to load kernel module: "configs", output: "modprobe: FATAL: Module configs not found in directory /lib/modules/3.10.0-1160.49.1.el7.x86_64\n", err: exit status 1
[WARNING Service-Kubelet]: kubelet service is not enabled, please run 'systemctl enable kubelet.service'
error execution phase preflight: [preflight] Some fatal errors occurred:
[ERROR ImagePull]: failed to pull image 10.0.2.15/coredns:v1.8.4: output: Error response from daemon: manifest for 10.0.2.15/coredns:v1.8.4 not found: manifest unknown: manifest unknown
, error: exit status 1
[preflight] If you know what you are doing, you can make a check non-fatal with
--ignore-preflight-errors=...
To see the stack trace of this error execute with --v=5 or higher
Operating System
Redhat/Fedora
Driver
Docker
The text was updated successfully, but these errors were encountered: