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

feat(v2): upgrades without manager #1755

Merged
merged 5 commits into from
Jan 28, 2025

Conversation

emosbaugh
Copy link
Member

@emosbaugh emosbaugh commented Jan 28, 2025

What this PR does / why we need it:

Migration runs the following operations:

  • checks if a migration is needed, if not exits
  • sets the installation status condition V2MigrationInProgress to true
  • scales down operator deployment replicas to 0
  • force deletes Chart CRs
  • removes the spec.extensions.helm from the k0s ClusterConfig CR
  • sets the installation status condition V2MigrationInProgress to false, completed

After the migration it is expected that the helm charts will be upgraded by the v2 upgrade and the operator deployment replicas set back to 1

Which issue(s) this PR fixes:

Does this PR require a test?

Does this PR require a release note?


Does this PR require documentation?

Copy link

github-actions bot commented Jan 28, 2025

This PR has been released (on staging) and is available for download with a embedded-cluster-smoke-test-staging-app license ID.

Online Installer:

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci/appver-dev-46934e7" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Airgap Installer (may take a few minutes before the airgap bundle is built):

curl "https://staging.replicated.app/embedded/embedded-cluster-smoke-test-staging-app/ci-airgap/appver-dev-46934e7?airgap=true" -H "Authorization: $EC_SMOKE_TEST_LICENSE_ID" -o embedded-cluster-smoke-test-staging-app-ci.tgz

Happy debugging!

laverya
laverya previously approved these changes Jan 28, 2025
@emosbaugh emosbaugh marked this pull request as ready for review January 28, 2025 22:40
@emosbaugh emosbaugh merged commit 2a1f05f into main Jan 28, 2025
79 checks passed
@emosbaugh emosbaugh deleted the emosbaugh/sc-118161/v1-to-v2-upgrades-new branch January 28, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants