-
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
Helm delete leaves some remanent behind #403
Comments
For rabbitmq cluster to finish I had to remove the the finalizer through a For postgres, running:
seems to have worked. Will PR a few changes to the README. |
I can confirm that a new chart can be started with the same name after those deletions. |
...mmm... I also discovered a rogue secret left there hanging. After all of this, I still cannot start a new deployment with the same name. I get an endless wait on the database to start:
(I have seen this with more than 30 minutes going on). Something seems to keep postgres without defining a leader:
it keeps looping on the last two lines. |
Part of the issue here is that some dependencies, especially operators, should not be removed before dependent CRs are removed. Otherwise, the operator is removed before it has a chance to cleanup the CR, leaving artefacts behind. We've discussed this in the past and one solution that came up was that we could perhaps separate the steps for installing operators, cvmfs-csi and other dependencies as a pre-installation step. In the end, the consensus was to keep things as is, but document that in production scenarios, one should manually install the operators, and set |
As a follow-up here, last week up updated the GalaxyKubeMan chart to explicitly remove some resources in an orderly fashion and enable clean deletion of a deployment: https://github.com/galaxyproject/galaxykubeman-helm/blob/anvil/galaxykubeman/templates/job-predelete.yaml |
Doing:
leaves behind some constructs:
that I could find.
I suspect issuing:
should get rid of the rabbitmq components, but I don't seem to find a unified call to bring down the postgres components (none of the specific API objects for postgres seem present, besides the statefulset and pods).
The text was updated successfully, but these errors were encountered: