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

Move to v3.Cluster #473

Open
1 of 4 tasks
kkaempf opened this issue Apr 9, 2024 · 0 comments
Open
1 of 4 tasks

Move to v3.Cluster #473

kkaempf opened this issue Apr 9, 2024 · 0 comments
Assignees
Labels
kind/epic Describes a new feature for tracking
Milestone

Comments

@kkaempf
Copy link

kkaempf commented Apr 9, 2024

Description

After adding support for importing CAPI clusters into Rancher via the clusters.management.cattle.io (also known as v3.Cluster) resource (refer to PR), we would like to make this the default solution and deprecate the existing import mechanism, based on clusters.provisioning.cattle.io.

The default configuration of Turtles keeps the v3 functionality behind a feature gate managementv3-cluster and is only activated if explicitly specified, as its default value is false.

To Do

Fully migrating to using v3 clusters means that we must:

  • Extend the E2E test cases that cover clusters.management.cattle.io to the existing clusters.provisioning.cattle.io: this means moving existing test suites to be based on the "new" Rancher cluster resource. This will also guarantee that the new Turtles controller works for every environment we're covering in E2E.
  • Investigate a migration strategy for those that are already using Turtles and have clusters imported into Rancher: old clusters backed by provisioning.cattle.io should be migrated to management.cattle.io transparently. Propose solution as a Turtles ADR to reach agreement as a team. This ADR should also specify the deprecation procedure for the existing controller.
  • Implement migration procedure: after agreeing on a migration strategy, we should create a migration tool/script/process to provide users with a guide on how to upgrade their clusters.
  • Remove feature gate and make v3 clusters the default resource for importing CAPI clusters to Rancher.

Child issues

@kkaempf kkaempf added the kind/epic Describes a new feature for tracking label Apr 9, 2024
@kkaempf kkaempf added this to the June release milestone Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/epic Describes a new feature for tracking
Projects
Development

No branches or pull requests

2 participants