-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Build and release kindest/node:VERSION
on kubernetes release
#197
Comments
i guess, i'm only -1 only on the anago approach.
this overlaps with the work by the k8s-infra-team, so if they manage to do the above soon the kind image can be on CNCF ground, otherwise dockerhub seems like a viable option for 1.0. |
Ditto w/ @neolit123 on anago per our previous discussion, I don't think Kubernetes the core project should be in the business of releasing SIG subprojects just yet, we can ensure we publish images for each release by other means. For now if anyone really wants them today, they can check out a k8s release tag and build an "unnoficial image" with the same tools we use. I'm also ambivalent on dockerhub, there haven't been major downsides so far but I'd be happy to move it to whatever hosting k8s-infra-team settles on going forward. The current dockerhub was indeed a stopgap to have joint access with @munnerz but has worked fine. |
cross posting a few communication links email to steering committee about this CNCF slack discussion about this k8s-infra slack message about this tracking issue |
@munnerz and I have been looking into this more. We think we can set up jobs based on kubernetes/kubernetes git tags to publish new images. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
we're at least not too far behind doing it manually, the current pattern is to publish a suite of images to go with each kind release, and avoid pushing much otherwise so users stick to stable image + kind combos obviously this is not what we wanted here, but it's doing okay as a stopgap for 0.4.0 releasing ~now we have:
|
Im publishing an unofficial image built using kind master and kubernetes master nightly The image is in dockerhub This is the repo that kicks off the job in circle ci https://github.com/aojea/kind-images Example of a successful job https://circleci.com/gh/aojea/kind-images/19 |
FWIW the v1.17.0 kind node image released within ~minutes of the kubernetes release (not automated yet, just bentheelder-bot watching the release ;-)) |
v1.15.7 is the latest vailable, v1.15.10 is not available. I don't see a clear way to even help make this image available. |
https://kind.sigs.k8s.io/docs/user/quick-start/#building-images we currently more or less only publish "official" kind images with each kind release. you can build your own images, which ideally are built and consumed by the same kind version currently. I'm going to overhaul building images in the future. #148 is the current priority. |
I'd like to request availability of We intend to utilize kind for regression testing against multiple versions of Kubernetes. Being able to include the upcoming Kubernetes version (which is available as an alpha/beta build) in our tests would shorten our feedback loop by weeks/months. cc @shaneutt |
Currently you'll need to build your own, we have documentation for this in user guide. |
Makes it possible to specify the version of Kubernetes running KIC's integration test. The choice is limited to available tags of the `docker/io/kindest/node` docker registry (which doesn't cover all releases at this moment). Asked `kind` maintainers (kubernetes-sigs/kind#197 (comment)) to increase coverage (specifically: start providing images for pre-release k8s builds as well)
For this one specifically there's the additional constraint that using kind with versions of kubernetes that released after kind released may not work. While Kubernetes shies away from making breaking end-user changes without a clear migration path over multiple releases, Kubernetes / kubeadm do have Because of this we must test Kubernetes at This is a trick problem that may improve (e.g. perhaps kind will be more complete and release smaller bugfixes more often as we won't be in the middle of larger changes) but currently it somewhat limits the usefulness of us pre-building these versions. #381 will at the very least make it cheaper to try without us having published one anyhow. |
I wonder if anything has improved over the past year? 🤔 |
You can now build node images without building [kubernetes] from source, starting in kind v0.24.0, recommended for kubernetes 1.31+ (though it does work for older releases). There's no guarantee that they'll work without staying atop of the latest kind changes though, because that's impossible to guarantee, for example the kubeadm config API is still in beta. |
That is amazing, but actually my status question was targeting the original topic of this thread:
|
This is one of the things discussed above related to it, we don't want another heavy source build in the CI. But the other issues related to tagging and compatibility are not resolved. However this makes it relatively cheap to build your own images, and is one of the pre-requisites for this issue. |
Right now the node image that
kind
uses is published by hand by @BenTheElder or @munnerz. It would be good to get this into the release pipeline somehow so that when a new version of kubernetes is published we also get a new node image forkind
to use. The tooling exists, it's just a matter of getting the image pushed to the correct place. See the tooling at https://github.com/kubernetes-sigs/kind/blob/master/hack/build/push-node.shFor complete context, please see this slack thread.
There are a few approaches discussed in the thread:
Shove this into anago in a similar way that the conformance image works. This is easy but the downside is that anago is getting too big and we shouldn't be adding more stuff to anago. This may become a slippery slope and we don't want anago to grow.
periodically check if the release tags have changed. If they have changed, do a build, otherwise don't do anything.
@BenTheElder has been looking at extending prow to trigger off GCS/GCR pubsub so we can kick off a build after a normal release is finished.
We would like to move this off dockerhub before 1.0, but there isn't really a great place to put it right now. Ideally we could have a CNCF sponsored gcr.io bucket so that google isn't responsible for the storage.
The text was updated successfully, but these errors were encountered: