-
Notifications
You must be signed in to change notification settings - Fork 716
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
About "pause" image #2801
Comments
this sounds like a cri-dockerd problem. note that cri-dockerd depending on its configuration might decide to pull it's default pause version - perhaps registry.k8s.io/pause:3.6 it is best to either configure cri-dockerd to use 3.9 or to prepull 3.6 manually. |
Thank you very much, it is indeed a problem with "cri-dockerd";
|
I was having the same issue when using containerd.
But, on It looks like containerd has, part of it's default config,
Now, like this it would not matter for any machine connected to the internet, but will fail if your machine cannot access the internet. To fix, specify your registry and correct pause version:
|
I'm trying to use "kubeadm" [v1.26.0] to deploy a simple K8S cluster;
The scheme used is: "K8S + CRI-DOCKERD"
The command used is "kubeadm init --config kubeadm-init.yaml";
Then I couldn't start a K8S cluster normally. At first I thought it was the reason of "kubeadm-init.yaml" configuration;
but not;
When I was looking at "cri-docker.service" logs, I found these logs,
Yes, "kubeadm" asks "cri-dockerd" to download "registry.k8s.io/pause:3.6",
Since "registry.k8s.io" cannot be accessed normally in my region, this caused me to be unable to start the K8S cluster normally;
Of course, I used another method to solve the image problem;
But the problem is not about this, it's about "kubeadm config images list | sort" [v1.26.0];
It clearly tells me that it is using the "pause:3.9" mirror;
I don't know if this is a bug;
This has no effect on users who can access "registry.k8s.io" normally;
But it is misleading for users who cannot access "registry.k8s.io" normally;
After running the K8S cluster normally, it also shows that "kubeadm[v1.26.0]" uses the image of "pause:3.6";
The text was updated successfully, but these errors were encountered: