Skip to content

Clarify v1 migration #6808

Open
Open
@morremeyer

Description

@morremeyer

Description

How can the docs be improved?

The v1 migration documentation explains in great detail how to manually perform all the upgrade steps.

However, we use ArgoCD to deploy karpenter and the karpenter CRDs, and terraform to manage the IAM policies. Therefore and due to the needed repeatability, performing all these steps manually is not an option for us.

I read through the upgrade guide and came to the following conclusion for any setup that is not managed/upgraded manually on a terminal:

  • Steps 1 through 6 are just there to ensure karpenter is running in a version that can be upgraded from
  • Steps 7 through 10 are the actual upgrade
    • Step 8 updates the IAM role
    • Steps 9 and 10 update karpenter CRDs and karpenter

The needed steps when not doing everything on a terminal would therefore be:

  1. Perform needed steps in https://karpenter.sh/docs/upgrading/v1-migration/#changes-required-before-upgrading-to-v100
  2. Update the IAM role used by karpenter (step 8 in the upgrade procedure)
  3. Merge the PR that contains the version upgrades (this depends on how you update your versions, we use PRs for that)
  4. Update the CRDs
  5. Update karpenter

Can someone please confirm this or correct me where I'm wrong? Thanks!

Notes

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationtriage/needs-investigationIssues that need to be investigated before triaging

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions