-
Notifications
You must be signed in to change notification settings - Fork 431
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
Default Ubuntu to 22.04 for new k8s versions #2807
Conversation
3bd5623
to
5cc4cd8
Compare
Updated with a case for |
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.
lgtm!
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.
/lgtm
/hold |
/approve |
@mboersma feel free to cancel the hold once the referenced 22.04 images are actually live and we're able to merge this |
/lgtm |
/cherry-pick release-1.5 release-1.6 |
@jackfrancis: once the present PR merges, I will cherry-pick it on top of release-1.5 release-1.6 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign |
/assign @mtougeron |
if (major == 1 && minor == 21 && patch < 2) || | ||
(major == 1 && minor == 20 && patch < 8) || | ||
(major == 1 && minor == 19 && patch < 12) || | ||
(major == 1 && minor == 18 && patch < 20) || | ||
(major == 1 && minor < 18) { | ||
osVersion = "1804" | ||
} else if (major == 1 && minor == 25 && patch < 3) || | ||
(major == 1 && minor == 24 && patch < 7) || | ||
(major == 1 && minor == 23 && patch < 13) || |
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.
My understanding is that cgroupv2 is enabled by default on ubuntu 22.04. If so, I don't think we should publish images for < k8s 1.24.
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.
Right you are (according to my Googling), thanks for pointing this out. On the Kubernetes cgroups doc, it says about cgroups v2:
FEATURE STATE: Kubernetes v1.25 [stable]
Should we restrict Ubuntu 22.04 to >= v1.25 then?
/lgtm cancel Per discussion in office hours this morning |
5cc4cd8
to
08a22e1
Compare
After researching cgroups v2 support, I updated this PR so Ubuntu 22.04 is the default only for Kubernetes v1.25.3 and forward. (We didn't actually publish 22.04 images for v1.25.2 or earlier patches.) Let me know if that's playing it too safe. |
/hold cancel |
/approve cancel Need fresh reviews since the intent of this PR has changed. |
/remove-approve Why "approve" commands aren't parallel to "lgtm" commands, I don't know. |
/lgtm |
/test pull-cluster-api-provider-azure-e2e |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: CecileRobertMichon, jackfrancis The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jackfrancis: cannot checkout In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/cherry-pick release-1.5 |
/cherry-pick release-1.6 |
@jackfrancis: new pull request created: #2907 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@jackfrancis: new pull request created: #2908 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Updates the default Ubuntu version to 22.04 LTS for newer Kubernetes versions that have published reference images to Azure Marketplace for it.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
TODOs:
Release note: