Skip to content
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

fix: removing --keep-terminated-pod-volumes from kubelet flags and adding k8s 1.31 to ci-test #455

Merged
merged 4 commits into from
Aug 14, 2024

Conversation

Bryce-Soghigian
Copy link
Collaborator

@Bryce-Soghigian Bryce-Soghigian commented Aug 13, 2024

Fixes #

Description
For supporting 1.31 node bootstrapping, we need to remove the --keep-terminated-pod-volumes from the kubelet flags. This pr introduces that logic into our bootstrapping contract.

How was this change tested?

  • make presubmit
  • manual testing with kubelet version set to 1.31

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

Release Note

Support 1.31 node bootstrapping via removing the --keep-terminated-pod-volumes flag that was removed in kubelet version 1.31. 

@Bryce-Soghigian Bryce-Soghigian changed the title fix: removing --keep-terminated-pod-volumes from kubelet flags k8s: 1.31 fix: removing --keep-terminated-pod-volumes from kubelet flags and adding k8s 1.31 to ci-test Aug 13, 2024
@Bryce-Soghigian
Copy link
Collaborator Author

This can't be properly tested until upstream images are replicated to our acs upstream mirror. As we can't bootstrap nodes with 1.31 until we have those images published.

@Bryce-Soghigian Bryce-Soghigian marked this pull request as ready for review August 14, 2024 01:39
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10380206199

Details

  • 4 of 4 (100.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.005%) to 97.696%

Files with Coverage Reduction New Missed Lines %
pkg/cache/unavailableofferings.go 2 95.45%
Totals Coverage Status
Change from base Build 9981917205: -0.005%
Covered Lines: 36296
Relevant Lines: 37152

💛 - Coveralls

Copy link
Collaborator

@tallaxes tallaxes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

hack/toolchain.sh Show resolved Hide resolved
@tallaxes tallaxes added the area/bootstrap Issues or PRs related to bootstrap label Aug 14, 2024
@Bryce-Soghigian Bryce-Soghigian merged commit b2bc5f4 into main Aug 14, 2024
11 of 12 checks passed
@Bryce-Soghigian Bryce-Soghigian deleted the bsoghigian/1.31 branch August 14, 2024 02:28
Bryce-Soghigian added a commit that referenced this pull request Sep 12, 2024
…ding k8s 1.31 to ci-test (#455)

* fix: removing --keep-terminated-pod-volumes from kubelet flags

* fix: test updating case to properly get the --keep-terminated-pod-volumes on older k8s versions

* fix: removing print statement

* test: upgrading controller-runtime/tools/envtest to leverage the new envtest 1.31 binaries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap Issues or PRs related to bootstrap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants