-
Notifications
You must be signed in to change notification settings - Fork 785
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 uninstall does not remove pods in microk8s #3665
Comments
Hi @l5, Unfortunately, I am unable to reproduce the issue. After removing the chart, all pods/deployments/etc go away. Can you share an inspection report from the node? |
Hi @neoaggelos , thanks for checking! I have since then tried to restart, reset, etc., but the issue persists. The inspection report is quite comprehensive and contains a lot of information about the system we wouldn't like to publish. I wonder, is there a way to share the inspection report in a slightly safer way? It is actually interesting that the Describing the pod(s) showed that they are
... while literally only the two pods are shown when I try to show all elements with |
Would you mind sharing an inspection report from the cluster? Could be that the pod teardown is failing. In case an inspection report is not possible, please share the logs from
|
I have observed similar behaviour which seems to be related to dqlite. Have a look at my report in #3735 and see that attempting to scale Deployments doesn't change the number of pods. I also found that deleting Helm charts or otherwise deleting Deployments doesn't remove the pods. |
FWIW I'm seeing this same behavior on kubeadm cluster on pure k8s 1.27 with external etcd. Pods and Replicasets do not go away. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I have tested this with microk8s and minikube. The issue occurred only in microk8s. I install a helm release in the cluster; the
helm uninstall
succeeds, but some resources initially created byhelm install
are not removed at all.This is a simple, minimum viable configuration to reproduce the issue:
Versions (this is on Ubuntu 22.04):
Creating namespace:
Installing sample helm chart:
Installation goes well; the helm release shows up and resources are available (get ready soon afterwards):
Helm release is installed as expected:
Now, we try to uninstall the helm release:
The helm release is gone as expected:
... unfortunately, some resources are still there:
I had this issue with microk8s version 1.25 and 1.26.
The text was updated successfully, but these errors were encountered: