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

chore(karpenter-core): upgrade karpenter-core to v0.33.0 #157

Merged
merged 5 commits into from
Feb 22, 2024

Conversation

charliedmcb
Copy link
Collaborator

@charliedmcb charliedmcb commented Feb 21, 2024

Fixes #

Description
This PR holds all the changes for upgrading us to v0.33.0 of karpenter-core. Note: within this change there is a repo rename for karpenter-core to sigs.k8s.io/karpenter.

This PR got reviews for each of the individual sections of the bump within the following staging PRs:

How was this change tested?
make presubmit, and tested make az-all + scaling a deployment within a codespace, along with /test
*

Does this change impact docs?

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

Release Note

Removing support for Machines, Provisioners, and Settings.

charliedmcb and others added 2 commits February 21, 2024 07:07
….20231122223643-d0156e68fd30 (1/6) (#139)

* bump karpenter-core

* correcting test/.../expectations.go

* make presubmit

* update to Robins suggestion

* fix test

---------

Co-authored-by: Charlie McBride <Charlie.McBride@microsoft.com>
….20231125072327-0a0b0de0e439 (2/6) (#140)

* bump karpenter-core

* correcting test/.../expectations.go

* make presubmit

* go get github.com/aws/karpenter-core@v0.32.2-0.20231125072327-0a0b0de0e439

* make presubmit

* update to Robins suggestion

* fix test

* chore(karpenter-core): go get sigs.k8s.io/karpenter@v0.32.2-0.20231128022149-cd7c3057c6ad (3/6) (#141)

* cherry pick import updates

* revert go.mod/go.sum

* go get sigs.k8s.io/karpenter@v0.32.2-0.20231128022149-cd7c3057c6ad + remove karpenter-core

* update KARPENTER_CORE_DIR Makefile

* make presubmit + removing unused import

* update comment referencing karpenter-core

* chore(karpenter-core): go get sigs.k8s.io/karpenter@v0.32.2-0.20231129204947-79dc3457680f (4/6) (#142)

* go get sigs.k8s.io/karpenter@v0.32.2-0.20231129204947-79dc3457680f

* remove settings usage

* make presubmit

* move to env vars for make flow

* disable webhooks

* update Makefile, and skaffold for options over settings

* update to working version

* remove unused mergeField

* remove MergeSettings and complete rest of karpenter-global-settings (and merge logic) are completely removed TODOs

* remove settings pkg

* enable Drift=true FEATURE_GATES

* update unit tests based on comments

* chore(karpenter-core): go get sigs.k8s.io/karpenter@v0.32.2-0.20231205044115-1cf3df4ba3cc (5/6) (#149)

* go get sigs.k8s.io/karpenter@v0.32.2-0.20231205044115-1cf3df4ba3cc

* checkout charliedmcb/bumpKarpenterCore4 .github/

* make presubmit

* remove refs to alpha api

* revert typo fix as it breaks karpenter-core ref

* remove reference of provisioners from webhook

* remove crds

* undo .github/workflow changes

* purge remaining alpha api refs

* chore(karpenter-core): go get sigs.k8s.io/karpenter@v0.33.0 (6/6) (#151)

* go get sigs.k8s.io/karpenter@v0.33.0

* make presubmit

* remove crds for machines and provisioners

---------

Co-authored-by: Charlie McBride <Charlie.McBride@microsoft.com>

---------

Co-authored-by: Charlie McBride <Charlie.McBride@microsoft.com>

---------

Co-authored-by: Charlie McBride <Charlie.McBride@microsoft.com>

---------

Co-authored-by: Charlie McBride <Charlie.McBride@microsoft.com>

---------

Co-authored-by: Charlie McBride <Charlie.McBride@microsoft.com>
Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

@coveralls
Copy link

coveralls commented Feb 21, 2024

Pull Request Test Coverage Report for Build 8010762990

Details

  • -1 of 16 (93.75%) changed or added relevant lines in 6 files are covered.
  • 24 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.08%) to 97.629%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/controllers/nodeclaim/inplaceupdate/controller.go 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
pkg/cloudprovider/cloudprovider.go 3 69.34%
pkg/cloudprovider/events/events.go 8 50.0%
pkg/operator/options/options.go 13 68.06%
Totals Coverage Status
Change from base Build 7874902941: 0.08%
Covered Lines: 35618
Relevant Lines: 36483

💛 - Coveralls

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

Copy link
Collaborator Author

@charliedmcb charliedmcb left a comment

Choose a reason for hiding this comment

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

/test

@charliedmcb charliedmcb marked this pull request as ready for review February 22, 2024 21:48
@charliedmcb charliedmcb merged commit e42e41e into main Feb 22, 2024
16 checks passed
@charliedmcb charliedmcb deleted the charliedmcb/upgradeKarpenterCore0_33 branch February 22, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants