-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Define clusterctl move process #1525
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
Comments
from #1065 (comment)
from comments in the GDOC for clusterctl redesing proposal
|
I would also add a potential for: |
@detiber ACK, updated. WRT the implementation, we can consider also the option to scale down controller deployments |
100%, I'm just thinking of ways that are potentially less error prone and generally more forgiving to changes such as the one from v1alpha1 to v1alpha2 where we switched from StatefulSets to Deployments. |
@ncdc @vincepri @detiber, considering the fact that pivot changed into move, and that we are going to support partial move (e.g. move of cluster objects existing in a namespace only), IMO the best option for forcing cluster-api controllers to not reconcile resources is to add an annotation to inform cluster-api controllers to not reconcile resources, as suggested by @detiber WDYT? |
+1 to annotation |
Annotation sounds good, there was someone else asking for something similar to pause reconciliation on certain objects, which might be helpful. |
/assign @fabriziopandini |
Ok, the annotation address the problem of stopping controllers to reconcile objects before move. However, there is still two problems to be addressed:
|
Thank you @fabriziopandini, Number one is super important to CAPV. We have numerous resources unknown to CAPI's core CRDs, but our entire graph is still reachable via owner refs. We need the move operation to support descendant discovery via owner refs, or the move will not work for CAPV. |
/lifecycle active |
@akutz descendant discovery via owner refs is in flight; I will ping you as soon as ready |
this was implemted by |
@fabriziopandini: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[2019-11-26 Updated] according to #1730 (comment) Pivot is now rebranded into Move; issue updated accordingly
User Story
As an operator I would like to move cluster objects and all the associated resources (Machines, Machine Depolyments etc.) from the current management cluster to another management cluster for any reason
Detailed Description
The clusterctl CAEP currently in flight assumes the user should brig its own management cluster, so technically the sequence bootstrap cluster -> pivot to -> management cluster is not necessary anymore.
However, the same CAEP consider pivoting a possible answer to different operational needs, e.g because of maintenance or replacement of the management cluster, so pivoting is still in scope.
With v1alpha3 in flight and the new assumptions around clusterctl - one binary for rule all the providers -, the implementation detail should be re-validated, keeping in mind also #1730 (comment) discussion that lead to transforming pivot into move.
Goals
Non-Goals
Anything else you would like to add:
There is a lot of learning from past experiences on pivoting, so I'm pasting below some comments from different threads. Feel free to add more.
/kind feature
The text was updated successfully, but these errors were encountered: