-
Notifications
You must be signed in to change notification settings - Fork 717
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
change kubeadm image url #2805
Comments
as mentioned on the k/release ticket it's a complicated change and needs a KEP (proposal doc/plan). not clear if we want to do it. we could survey kubeadm users about it. it will beak kubeadm users and needs a smooth transition period. |
can change to this
or
|
I have the same problem with 1.26.1 @willzhang where can I change the "imageRepository" value? $ kubeadm config images list |
We need wait official support this feature. |
Currently, you can specify the base image repository with the kubeadm config images list --image-repository registry.k8s.io/kubernetes kubeadm init --image-repository=registry.k8s.io/kubernetes |
yes ,but Many cluster installation tools like kubepspray encapsulate kubeadm, it's hard to change and not only kubeadm init, in offline environment need more operation like image pull image tag image push. |
but it doesn't work for pause, it is still registry.k8s.io, did not change as specified by --image-repository. |
if you are using containerd, pause image is configured in |
I have the same problem with 1.22.10 where can I change the "imageRepository" value? my question: kubeadm config images pull error, my image already exists locally, why does kubeadm images pull still pull it? 1.confirm the images exist
2.use kubeadmcfg.yaml list images
3. kubeadm config images pull error, my image already exists locally, why does kubeadm images pull still pull it?
4. According to this judgment rule, it should not be pulled again. I'm not sure if the code I checked is correct:)
5、here is my InitConfiguration and config
|
@myysophia your problem seems to be different. I find that you are using You can use check image status of containerd with |
@pacoxu Thank you for reminding:) |
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 |
The Kubernetes project currently lacks enough active 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 rotten |
adding frozen label. if someone wants to write a KEP please go ahead. |
Is this a BUG REPORT or FEATURE REQUEST?
FEATURE REQUEST
Versions
kubeadm version (use
kubeadm version
):v1.26.0
Environment:
kubectl version
): v1.26.0uname -a
): 5.xWhat happened?
as kubernetes/sig-release#2146 discuss, the long image url
registry.k8s.io/kubernetes/kube-apiserver:v1.26.0
have been ready, kubeadm init should use this url as default to pull images.What you expected to happen?
kubeadmin init cluster pull images from
registry.k8s.io/kubernetes/kube-xx
as default action.How to reproduce it (as minimally and precisely as possible)?
here have one image list for kubernetes cluster installtion generate by kubespray offline scripts.
the problems i face:
1.I can not just replace
registry.k8s.io
quay.io
docker.io
to192.168.72.10 (local offline harbor registry)
, harbor not support shot image url withregistry.k8s.io/kube-apiserver:v1.25.5
2. I can not just change
${kube_image_repo}
to${kube_image_repo}/kubernetes
basicly, becauese some application use long format url, egregistry.k8s.io/sig-storage/csi-resizer:v1.3.0
3. I can pull from
registry.k8s.io/kubernetes/kube-apiserver:v1.26.0
, but as default kubeadm only pull fromregistry.k8s.io/kube-apiserver:v1.26.0
, i must change kubeadm config again.so this deferente image url Leading to many dilemmas
Anything else we need to know?
1、This will solve the confusion of the image format and make the image of the core components of kuberenrtes consistent with the image of all other applications.
2、It is easier to move images in different places through variables and scripts without special configuration.
The text was updated successfully, but these errors were encountered: