-
Notifications
You must be signed in to change notification settings - Fork 40
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
Installed ManagedClusterAddon not removed after unregistering the ManagedCluster #86
Comments
/assign @zhiweiyin318 I think we should create a proposal to define the deletion behavior. |
@zhiweiyin318 is this fixed already? |
@qiujian16 no, the deletion proposal still needs to be revised and there are some details which are unclear. |
@zhiweiyin318 Is this fixed already? I am meeting the same problem now. ManagedClusterAddons created by ClusterManagementAddons such as |
@USER0308 , not yet. we have an enhancement open-cluster-management-io/ocm#140 to follow up the enhancement of mcl deletion process including how to cleanup the addon and manifestwork. |
Use case: Now I want to detach If I firstly delete managedClusterAddon in mcl-1 namespace, it will be recreated by ClusterManagementAddon and it is not work. If I firstly delete the ClusterManagementAddon, the managedClusterAddon in all of three managedClusters might be deleted, which against my will. So, after several try, I find that it is work when firstly deleting the managedCluster mcl-1, then deleting the managedClusterAddons in mcl-1 namespace, which will not be recreated since the managedCluster mcl-1 is already not exist. But this method still has a shortcoming that manifestworks in mcl-1 namespace are still remain and cannot be deleted until removing their's finalizer. |
open-cluster-management-io/ocm#140 has completed. Now we support to delete addon and manifests after cluster is deleted. |
/close |
@zhiweiyin318: 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. |
After deleting a managed cluster from the hub, the cluster namespace still remains and the ManagedClusterAddons under that cluster namespace are also not stripped from the hub cluster.
I'm not sure if this is the expected behavior, but clarifying the deletion order of these per-cluster resources in the hub data-plane will be helpful.
The text was updated successfully, but these errors were encountered: