You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you like to be added:
When karmadactl unjoin, if the cluster object cannot be deleted because the resources of the member clusters cannot be deleted, provide the parameter force to complete the forced deletion of the cluster capability.
Why is this needed:
The following figure shows the flow of execution behind the karmadactl unjoin command. When unjoining a cluster, in order to ensure that the resource can be deleted properly, the finalizers mechanism is used, and the deletion of the resource can only be completed when the task corresponding to the finalizers is completed.
This also results in karmadactl unjoin failing all the time if one of the steps doesn't complete properly. In particular, the process involves two clusters: the control cluster as well as the member clusters. Therefore I would like to add the ability to force unjoin to karmadactl unjoin, so that when a delete keeps failing at a certain time, if the ability to force delete is turned on, the finalizers that are blocking the process are deleted so that the process can continue.
The text was updated successfully, but these errors were encountered:
The likelihood of persistent failure of deletions across clusters is the greatest, as I am proposing that when the ability to force deletions is currently turned on, only the finalizers of the work are deleted, thus maximising the assurance that the resource is being deleted correctly.
What would you like to be added:
When
karmadactl unjoin
, if the cluster object cannot be deleted because the resources of the member clusters cannot be deleted, provide the parameterforce
to complete the forced deletion of the cluster capability.Why is this needed:
The following figure shows the flow of execution behind the
karmadactl unjoin
command. When unjoining a cluster, in order to ensure that the resource can be deleted properly, the finalizers mechanism is used, and the deletion of the resource can only be completed when the task corresponding to the finalizers is completed.This also results in karmadactl unjoin failing all the time if one of the steps doesn't complete properly. In particular, the process involves two clusters: the control cluster as well as the member clusters. Therefore I would like to add the ability to force unjoin to karmadactl unjoin, so that when a delete keeps failing at a certain time, if the ability to force delete is turned on, the finalizers that are blocking the process are deleted so that the process can continue.
The text was updated successfully, but these errors were encountered: