-
Notifications
You must be signed in to change notification settings - Fork 7.2k
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
Feature Request: helm delete --wait #2378
Comments
There needs to be some refactoring of the |
/remove-lifecycle rotten |
/remove-lifecycle stale |
Without helm/helm#2378 there isn't a way to deterministically know when all resources are finished being removed. A simple thing we can do is warn the user on a ES_FORCE_INSTALL=true.
Without helm/helm#2378 there isn't a way to deterministically know when all resources are finished being removed. A simple thing we can do is warn the user on a ES_FORCE_INSTALL=true.
/remove-lifecycle rotten |
/remove-lifecycle stale |
We removed the stale bot from helm/helm after the move to the CNCF. No need to try and remove the stale labels; it's all been removed. :) |
Any luck on this? |
Nope. Are you working on an implementation? |
Not yet since I wasn't sure if there's any ongoing fix. I'll try to implement it if it's not planned for both helm2 and 3 |
AFAIK nobody's working on this. Feel free to work on an implementation! |
I would assume so, yes. We'd need to delete objects in reverse order. Otherwise we may delete its parent and report a false positive that the object no longer exists (e.g. by deleting a ClusterRole before deleting a ClusterRoleBinding). |
Re-marking this as a feature; this has been a highly requested feature for some time. If someone from the community wishes to implement this, feel free. |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Activity :/ |
In the interest of preventing spam to users subscribing to this thread, instead of commenting "+1" or "waiting for it", please add a 👍 to the OP or consider hitting the "subscribe" button on the top-right, under "Notifications". That way we can keep the conversation relevant to the discussion at hand. I've gone ahead and deleted those comments. Thanks! |
That being said, I'm interested to hear who from the community is willing to work on this feature. OP proposed this idea over three and a half years ago. There has to be a point where we say the community has not taken enough initiative on this feature request, and we have to close it out as stale/unimplemented. |
@bacongobbler I don't think that closing this issue is the right way to handle it. If you close it, you get new issues about this topic. Just remove the stale bot, then everyone get less spam. A bot against "+1" spammers would do better job. |
When I'm doing this manually I often find that even when all pods are gone some services are still being deleted |
The Helm project receives about 3-4 new tickets per day. Nearly all of them are support issues or requests for clarification. The stale issue bot has been incredibly helpful to manage these issues, as many of them are either left open or fall off our radar, either because there's little engagement from the OP or the community on certain tickets. On the off chance that there is a ticket that needs to stay open, we can add "keep open" labels to the ticket. We are very keen to review community contributions that are willing to take the time to implement this feature. But if the ticket goes stale due to 3 months of inactivity (and in this case, it's been left open for nearly 4 years), then it's clearly not a priority ticket item, or community members have found a workaround (as the OP demonstrated in his first comment) and there's little incentive to implement the requested feature. |
looking forward to seeing this |
Just because no one submits a fix, doesn't mean no one would willing to. It only means what it says on the tin: No one submitted a fix. For example: I would love to put it in, if I had the hunderd+ hours available to learn your codebase and find out a way to put it in. |
Any updates? |
Got this issue... |
I use werf - https://werf.io/ - https://github.com/werf/werf |
If set, 'uninstall' command will wait until all the resources are deleted before returning. It will wait for as long as --timeout closes helm#2378 Signed-off-by: Mike Ng <[email protected]>
helm install --wait
can wait for everything to be ready. Can a newhelm delete --wait
do something similar? I'm usinghelm delete --purge
in my build pipeline followed by this script (to do something similar to--wait
).The text was updated successfully, but these errors were encountered: