-
-
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
deleting a daemonset removes the daemonset but keeps the pods #212
Comments
@devkws Thank you for the report! That's definitely surprising. K9s is not doing anything to prevent that behavior. Will need to research if feature or bug?? As my current understanding is upon ds delete all associated pods should be deleted unless cascade is set to false which is not the case here in k9s?? |
@derailed that’s my understanding as well and in fact kubectl and the GKE dashboard does just that. I’m wondering now if it was because the pods were in a crashloop. But again, kubectl and GKE removed the underlying pods. Weird. |
@devkws kubectl has the cascade option set to true by default when deleting. This is why when you delete a DS or RC, all the underlying pods are deleted as well. Apparently k9s doesn't have this option, or it has it hardcoded to false. |
@thllxb Thank you so much for your input and research! I've looked into it and agree with your assessment. I'll fix the behavior in the next drop. |
@devkws @thllxb Fixed 0.7.6 |
Describe the bug
deleting a daemonset removes the daemonset but keeps the pods
To Reproduce
Steps to reproduce the behavior:
Expected behavior
daemonset and pods should be removed
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: