Closed wfernandes closed 3 years ago
+1 to this IMO the most tricky part is that in a multitenancy scenario a management cluster could be both v1alpha3 and v1apha4 at the same time. Happy to brainstorm about how to get this addressed
/milestone v0.4.0
/priority important-soon
One clarification, clusterctl shouldn't support environments running multiple different versions of the controllers going forward
Yes, moving forward this may look a little different. We may have to ensure that there is consistency between the clusterctl CLI and the management cluster operator versions rather than the version of the management cluster itself.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
/lifecycle frozen
/close This has been fixed by the work in preparation for v1alpha3 --> v1alpha4 upgrades
@fabriziopandini: Closing this issue.
User Story
As a user I would like to ensure that I'm using the appropriate version of clusterctl with a management cluster because I do not want to have unexpected side effects when performing cluster operations.
Detailed Description
If we have a v1alpha3 management cluster (which may have been created by
clusterctl-v1a3 init
), then we should be blocked from using a clusterctl cli from a newer minor release (e.g.clusterctl-v1a4 init -i <infra>
). However, we still want upgrades to work.clusterctl-v1a3 --> clusterctl from a v0.3.x release
clusterctl-v1a4 --> clusterctl from a v0.4.x release
Anything else you would like to add:
Other questions to consider:
clusterctl-v1a4
cannot be used withclusterctl-v1a3
, what do we mean by that? Do we mean that a management cluster that has been initialized byclusterctl-v1a3
cannot be operated on byclusterctl-v1a4
(except for upgrades)?clusterctl
's installed if there are two versions of management clusters installed in separate namespaces on the same k8s cluster?clusterctl
vs. the management cluster contract. Do we need to have an option that allows upgrading across contract versions based on the version ofclusterctl
used?/kind feature /area clusterctl