-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Feat: kubeadm v1beta4 support #11674
Feat: kubeadm v1beta4 support #11674
Conversation
Skipping CI for Draft Pull Request. |
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.
Some comments/suggestions.
roles/kubernetes/control-plane/templates/kubeadm-controlplane.v1beta4.yaml.j2
Outdated
Show resolved
Hide resolved
roles/kubernetes/kubeadm/templates/kubeadm-client.conf.v1beta4.j2
Outdated
Show resolved
Hide resolved
If kube_version is v1.31 or higher, it will be v1beta4, otherwise it will be v1beta3. Signed-off-by: ChengHao Yang <[email protected]>
d12a89c
to
9188cf6
Compare
/label tide/merge-method-merge |
/retest |
1 similar comment
/retest |
9188cf6
to
9682baf
Compare
v1beta4 has changed a lot in this file (e.g. ExtraArgs etc.), so it was implemented in separate files. Signed-off-by: ChengHao Yang <[email protected]>
I added the kubeadm_config_api_version variable in the previous commit, and remove kubeadm api version condition. Signed-off-by: ChengHao Yang <[email protected]>
Remove kubeadm api version condition. Currently there is not much difference between the files, if there are more changes in the future, please use different files to distinguish them (you can use the kubeadm_config_api_version variable) Signed-off-by: ChengHao Yang <[email protected]>
Currently there is not much difference between the files, if there are more changes in the future, please use different files to distinguish them (you can use the kubeadm_config_api_version variable) Signed-off-by: ChengHao Yang <[email protected]>
Currently there is not much difference between the files, if there are more changes in the future, please use different files to distinguish them (you can use the kubeadm_config_api_version variable) Signed-off-by: ChengHao Yang <[email protected]>
9682baf
to
bf01b73
Compare
Looking at that diff makes me think we should definitely not template it this way but juste mostly mirror the data struct and feed it to /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tico88612, VannTen 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Starting from Kubernetes v1.31, kubeadm v1beta4 is supported, and all subsequent versions use v1beta4 for deploying clusters.
Which issue(s) this PR fixes:
Fixes #10935
Special notes for your reviewer:
This is currently a draft PR, and the changes may conflict with #11633, so #11633 needs to be reviewed first.
Does this PR introduce a user-facing change?: