Closed Kshatrix closed 1 day ago
https://fluxcd.io/flux/installation/uninstall/ "Note that the uninstall command will not remove any Kubernetes objects or Helm releases that were reconciled on the cluster by Flux. It is safe to uninstall Flux and rerun the bootstrap, any existing workloads will not be affected."
Sometimes AWS control plane instances (i.e. -aws-dev-cp-) may have issues with removal of security group and internet getaway. This will result of non-deleted ControlPlane or Cluster, so security groups and internet getaways should be removed manually in AWS console.
According to the most recent investigations the root cause of this issue is in the sequence of removal of HelmRelease objects.
Even if I can enforce "foreground" removal (child objects first, then parents), it is still quite often case where AWSCluster object (i.e. "AWSCluster/
PR https://github.com/Mirantis/hmc/pull/242 was created
The same functionality should be implemented for Azure
helm-controller has a timeout (5min by default) that is used in helm uninstall --wait. After 5 minutes, it removes finalizer, leaving resources behind.