-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
deletes only the helm entry but not the deployment.
#1033
Comments
@omersi Thank you for reporting this! This is a bit strange as deleting the chart should delete all related artifacts. Are you sure you don't have another deployment holding these resources? Just tried a sample pg chart and deploy/pods/sec/etc... are all getting deleted as expected. Please send more details if this is not the case. Tx!! |
Getting the same behavior on my side. I think, it used to work as expected in the begining, but now, it delete only the chart and not the k8s objects |
same issue |
Same issue here. Normal K9s Rev: v0.24.15 Helm: version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"clean", GoVersion:"go1.16.5"} -- Does k9s interface with my local helm install, or does it come with its own packaged version of helm? The k9s log does not contain entry entries relating to helm but is spammed with @derailed I just started using k9s and am not sure what other information might be useful for debugging this. Please let me know if/how I can help and where to start. |
+1, maybe put a command to uninstall helm package, not only delete the reference |
@derailed Note that I am seeing this after deleting via the helm CLI, outside of the context of k9s. This github issue came up when I was poking around so thought I'd post here.
Azure Kubernetes Cluster running 1.22.6. |
@derailed I'd like to report this issue too. I guess this issue should be reopened |
Thank you all for piping in!! I am not able to repro this using the latest k9s v0.26.0. Installed a redis chart, delete it and all associated resources are uninstalled as expected. Please add more details here so we can find a good repro. Thank you! |
Hi there! Do you have "helm.sh/resource-policy": keep in your helm charts? |
I can confirm that in my case it was the resource policy issue. |
@mike-code thank you for reporting back! I think we can close this issue, but maybe add this information into readme or somewhere? @derailed what do you think? |
It is not resolved for me yet. When I do a I use this command to check:
I observed this behaviour with different charts. I am using Maybe this has something todo with namespaces? |
I think this one could be related to #1558. If your default namespace is different to the selected namespace where you are deleting the helm release, the release is deleted but not the resources. At least not in the namespace you selected, but in the default. |
I have the same issue. |
I fixed it by making the exact same deploiement build again and then uninstall it with helm instead of delete |
The same issue. |
Same. |
+1 |
Still not working. |
We are facing the same issue. Has someone already implemented a solution in a PR that could be referenced / tracked in this issue? |
Pretty please, get this fixed! |
@derailed FYI seems like this bug still persists, when current context selected in ~/.kube/config differs from the one selected within k9s. |
* [Maint] Fix race condition issue * [Bug] Fix derailed#2501 * [Maint] Allow reference to resource aliases for plugins * [Feat] Intro cp namespace command + misc cleanup * [Maint] Rev k8s v0.29.1 * [Bug] Fix derailed#1033, derailed#1558 * [Bug] Fix derailed#2527 * [Bug] Fix derailed#2520 * rel v0.31.8
Describe the bug
When trying to delete from helm screen (using
ctrl+d
) it deletes only therelease
and not the pods/deployments etc.To Reproduce
Steps to reproduce the behavior:
helm
release
from thehelm
screenExpected behavior
Delete all resources associated with the
release
I just deletedScreenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: