Skip to content

[kubernetes] Support kubernetes 1.33 #12199

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tmurakam
Copy link
Contributor

@tmurakam tmurakam commented May 8, 2025

What type of PR is this?

/kind feature

What this PR does / why we need it:

  • Add support for Kubernetes 1.33.1
  • Add checksum entries of Kubernetes 1.33.1
  • Set min required version to Kubernetes 1.31.x (Drop 1.30.x)
  • Update supported versions
    • cri-o 1.33.0
    • etcd 3.5.21
    • coredns 1.12.0
  • Refactor coredns_version
  • Remove 'AppArmor' feature gate from hardening config because it is removed from kubernetes 1.33
  • Use ubuntu 22.04 instead of 20.04 to test cri-o 1.33.0

Which issue(s) this PR fixes:
Fixes #12162

Special notes for your reviewer:

  • This should be merged after the release of kubespray 2.28.0.
  • Upgrade CI test (ubuntu22-calico-all-in-one-upgrade) will fail until kubespray 2.28.0 is released.
  • The cri-o 1.33.0 (crun 1.21) does not work on Ubuntu 20.04, so we need to remove Ubuntu 20.04 support.

Does this PR introduce a user-facing change?:

Support kubernetes v1.33.1

@k8s-ci-robot
Copy link
Contributor

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. release-note Denotes a PR that will be considered when it comes time to generate release notes. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 8, 2025
@k8s-ci-robot k8s-ci-robot requested review from cyclinder and mzaian May 8, 2025 09:44
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from 1059d28 to 78f2351 Compare May 8, 2025 09:57
@tmurakam tmurakam marked this pull request as ready for review May 8, 2025 10:06
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 8, 2025
@k8s-ci-robot k8s-ci-robot requested a review from MrFreezeex May 8, 2025 10:06
@tmurakam
Copy link
Contributor Author

tmurakam commented May 8, 2025

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 8, 2025
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from 78f2351 to 3dd3f13 Compare May 8, 2025 10:13
@k8s-ci-robot k8s-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 8, 2025
@tmurakam
Copy link
Contributor Author

tmurakam commented May 8, 2025

/ok-to-test

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 8, 2025
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from 3dd3f13 to e54ff56 Compare May 8, 2025 11:37
@tmurakam tmurakam marked this pull request as draft May 11, 2025 03:13
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 11, 2025
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch 6 times, most recently from 695928d to 0082ad2 Compare May 13, 2025 10:26
@tmurakam
Copy link
Contributor Author

The AppArmor feature gate is removed from kubernetes 1.33, so need to update hardening config.

@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from 0082ad2 to 144eb95 Compare May 13, 2025 12:48
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 17, 2025
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch 2 times, most recently from 1ff72fa to 1496ca2 Compare May 17, 2025 07:41
@tmurakam
Copy link
Contributor Author

It seems the checksums of cri-o were changed...

@tico88612 tico88612 added this to the 2.29 milestone May 18, 2025
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch 2 times, most recently from eba80da to d7c1d68 Compare May 20, 2025 08:52
@tmurakam tmurakam marked this pull request as draft May 21, 2025 06:12
@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 21, 2025
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from d7c1d68 to b833f21 Compare May 21, 2025 06:37
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: tmurakam
Once this PR has been reviewed and has the lgtm label, please assign ant31 for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tmurakam
Copy link
Contributor Author

/retest

@tmurakam
Copy link
Contributor Author

/unhold

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 21, 2025
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch 2 times, most recently from b08cb16 to b833f21 Compare May 21, 2025 13:48
tmurakam added 2 commits May 21, 2025 23:56
Signed-off-by: Takuya Murakami <murakami_da@nec.com>
- Add checksum entries.
- Set min required version to Kubernetes 1.31.x
- Update supported versions
- Refactor coredns_version
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from 2b0d33c to 8ad1253 Compare May 21, 2025 14:56
Use ubuntu 22.04 for molecule test of cri-o,
because crun included in the cri-o does not work on
ubuntu 20.04.
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from bfa4c9a to 16c0533 Compare May 21, 2025 23:43
@tmurakam tmurakam force-pushed the feature/kubernetes-1.33 branch from 4813393 to c1e3f31 Compare May 22, 2025 00:00
@tmurakam tmurakam marked this pull request as ready for review May 22, 2025 00:10
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 22, 2025
@k8s-ci-robot k8s-ci-robot requested a review from ErikJiang May 22, 2025 00:10
@yankay
Copy link
Member

yankay commented May 22, 2025

Thanks @tmurakam
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Kubernetes 1.33 Support
4 participants