-
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
ability to specify k8s version and not the image #2114
Comments
It does not require passing the full hash, but we strongly recommend it, because this ensures that images cannot change without you knowing it (the hash would change). It is important that you trust these images.
These images are only compatible with certain binary versions (see the release notes) while this project is in alpha. So for now this is harder than it sounds. Building these is also a bit expensive currently, but we're working on alternatives. Scripts are also currently only compatible with certain kind versions because the CLI has changed. The tool is officially in alpha. https://kind.sigs.k8s.io/docs/contributing/1.0-roadmap/
Specifying an image is standard in the entire container tools space and applies the same to your pods etc. Instead I think we're more likely to make it separately more easy to identify available images and/or build your own. It's also worth noting that |
Thank you @BenTheElder for the reply.
So the strong recommendation comes more from security requirements than the compatibility?
Could then images compatible with certain
That's often true, yes, but when one wants to spin up kind cluster to just test app inside kubernetes what you more care is the version of k8s than the particular image running.
Ah, that's my mistake, meant to write |
Mostly yes. When we started the project dockerhub was handed but lacked 2FA etc. We still think this is a good idea in general. Generally we try to ensure to the best we can (without literally running all scenarios with every version of the tool) that changes to images do not have any incompatibility with older versions of the tool, the opposite is not true (newer versions of the tool may assume improvements to how the images perform).
Perhaps, though then each new version that still worked would require updating it. An updated tagging scheme is definitely being explored concurrently with possible build and registry changes. There's an existing issue tracking how we publish images, I expect to have a proposal up in the next month, currently nobody has had much time as we've been working on changes in Kubernetes upstream.
I think that's true of most application images? I want to run app X at version Y. Here X is kindest/node and Y is :v1.20.2 |
I think this is currently out of scope for the project, there are some tricky issues to resolve first. We should absolutely revisit this when we have a better story around managing the images. |
What would you like to be added:
A
--k8s-version
or--version
flag that would specify only the version of Kubernetes to be used in addition to--image
.Why is this needed:
Specifying different version of k8s using
--image
requires providing the full hash, for exmaplefor 0.10.0.
This is:
If someone would be able to just specify
--version 1.20
and Kind just selects appropriate image this would be much more user friendly.The text was updated successfully, but these errors were encountered: