-
Notifications
You must be signed in to change notification settings - Fork 519
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
Drop Kubernetes 1.22 variants #2988
Drop Kubernetes 1.22 variants #2988
Conversation
24c5122
to
27e5068
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few additional suggestions:
Update BUILDING.md
Lines 150 to 157 in bf7dec9
3. Build your image, setting the `BUILDSYS_UPSTREAM_SOURCE_FALLBACK` flag to `true`, if you haven't cached the driver's sources: | |
```shell | |
K8S_VERSION=1.22 | |
cargo make \ | |
-e BUILDSYS_VARIANT=aws-k8s-${K8S_VERSION}-nvidia \ | |
-e BUILDSYS_UPSTREAM_SOURCE_FALLBACK="true" | |
``` |
There's a few spots in the README.md
that call out 1.22 as a specific variant version:
Lines 61 to 63 in bf7dec9
The following variants support EKS, as described above: | |
* `aws-k8s-1.22` |
As far as examples in the docs and code, we've taken the stance on some of them in the past not to update every time since they are only examples. As long as it doesn't apply to a specific instruction to the user, they shouldn't be included as an ongoing maintenance item. But the list of variants was definitely a miss. Will update that now! |
27e5068
to
089464d
Compare
If the variant is gone from the main branch, someone pulls the repository, and follows the instructions in We should update the docs to be as up to date as possible with the tip of Edit: for example:
|
I disagree for example snippets. If they ask to build a 1.22 variant and it doesn't exist, we would want that to fail. But I also don't think we want or expect someone building Bottlerocket to blindly copy and paste commands with no idea what they are asking for. Let's see what other folks think. Happy to go with the consensus, but that's my 2 cents. |
Ideally any code snippet we provide in the examples should not fail. Traditionally we'd update these every time we update the default variant to the latest See https://github.com/bottlerocket-os/bottlerocket/pull/2593/files |
OK, fair enough. I will update it to the current default to increase the chances it will be found the next time that is bumped. |
089464d
to
d4c3218
Compare
This removes the 1.22 k8s variants. This version of Kubernetes has gone end-of-life and we will no longer support it. Signed-off-by: Sean McGinnis <[email protected]>
d4c3218
to
19a08ae
Compare
Issue number:
Closes #2844
Description of changes:
This removes the 1.22 k8s variants. Kubernetes 1.22 went out of upstream support in April, 2022. AWS EKS is maintaining support for 1.22 until May 1st, 2023.
Note to reviewers
See #2700, #2421, and #2316 for examples of past removals of k8s version variants.
Testing done:
cargo make -e BUILDSYS_VARIANT=aws-k8s-1.23 -e BUILDSYS_ARCH=x86_64
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.