-
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
Wrong image versions used for some of the kubeadm images in 1.26 #15494
Comments
This is fixed on master, just not working with release (v1.28.0)
cc @spowelljr |
Unfortunately it is also running the wrong "pause" version, due to setting it up in the containerd config. docker@minikube:~$ sudo ctr -n k8s.io c ls
CONTAINER IMAGE RUNTIME
196468e32ab9e0e8b197db7871691fa5f5cda34fdb7e81adfbceac10b81aff64 registry.k8s.io/coredns/coredns:v1.9.3 io.containerd.runc.v2
2219c2daaee7b362499fe9e378e31bf6386a7f4caea649f942f6fd102e175184 docker.io/kindest/kindnetd:v20221004-44d545d1 io.containerd.runc.v2
2ea09c13d63c5e6bf141d203d92a7cbdaeba85f4cc7d761a61caa11f0bc8c269 registry.k8s.io/pause:3.8 io.containerd.runc.v2
3566b7e1e1748a279690beb37948b750e4c01e357f6c04cfc08e5967c74cf446 registry.k8s.io/pause:3.8 io.containerd.runc.v2
35eef4c1f74f65311e10f42f803ad4c0fe7fd19569227ce8f63d81d685d832b0 registry.k8s.io/kube-apiserver:v1.26.0 io.containerd.runc.v2
551b44457ead8838d7c0ac87b0209c9741cecd9ee7e7e3bd71a62aebe35ade55 registry.k8s.io/pause:3.8 io.containerd.runc.v2
5c17df7d0f4f4221304ee1f68aae8c87a870bfb20c798c77ce79dd36ee260f05 gcr.io/k8s-minikube/storage-provisioner:v5 io.containerd.runc.v2
79c1198d78f3f8e16004d73ec497ac3c5ea2d98ccc513e68a5b9c6f98669b71e registry.k8s.io/pause:3.8 io.containerd.runc.v2
7cfc200da51c9274435e43d51c5d2fccde3ba65b2822e332e6bca529bbe15308 registry.k8s.io/kube-controller-manager:v1.26.0 io.containerd.runc.v2
908265b0c4203187686c7b2e2ac153c99d50f983ba82b53bb6329acb14fb93f3 registry.k8s.io/pause:3.8 io.containerd.runc.v2
a0e16f5716a04ce38651b2a6d88ef69272bfbecc39168cfbe620f3d0a03c2c13 registry.k8s.io/etcd:3.5.6-0 io.containerd.runc.v2
b5c7d9751f4fdb1dcad44290478f4a8cb9071a9f71973708876d0b1d741b01e0 registry.k8s.io/kube-scheduler:v1.26.0 io.containerd.runc.v2
cba6ca2986b2673f1ad35213cf5954d3839d2d8d525874c0841307a37f35aa32 registry.k8s.io/pause:3.8 io.containerd.runc.v2
d5acf54402096da04955e9c29951253c2f5002e7d66a05dbf2e749075544f7db registry.k8s.io/pause:3.8 io.containerd.runc.v2
e840b846c18388ec64c1dc0f7e1a6b9b94acfa656d82b7a62abef93e6f823073 registry.k8s.io/pause:3.8 io.containerd.runc.v2
f53fc660d631dd658b56a10f98c7cb1839b0809010880be3b42232b45ce9e1e5 registry.k8s.io/kube-proxy:v1.26.0 io.containerd.runc.v2
|
Ah, thanks for the heads up, we need to update the kubeadm constants on master and then I'll delete the existing preload and regenerate it. |
Here's the kubeadm constants bump PR |
PR merged, deleted Running preload generation now |
Preloads are done, but this is still going to cause an issue because it's going to manually pull the old image. I think the best way would be to host the kubeadm constants file on the web and just use the local version as a fallback if it can't pull it. But that's only if we care about supporting Kubernetes versions newer than minikube's listed latest supported verison. |
Ultimately the best would be if Like how it currently have URLs available for pulling the latest version, etc Provide some JSON or something, that could be downloaded (and cached) |
I guess that 1.26 is fixed, but it will soon start breaking 1.27 pre-releases instead |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Hello,
Is this the tracking issue related to that problem? |
You need to update minikube, to a version including your k8s version. |
@Pictor13 Your issue was fixed with #16925, like @afbjorklund said update your minikube version and you'll get the fix. |
Updating solved the problem, thanks for your work guys 🙏 |
The images for "etcd" and "pause" were not bumped correctly (for the v1.26.0).
This causes double downloads, and issues in air-gapped/firewalled installations:
minikube start --kubernetes-version=v1.26.0 --container-runtime=containerd
The root cause is caching the values, and them changing over alpha/beta/rc/rel.
The text was updated successfully, but these errors were encountered: