-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
delete in dashboard does not cascade #980
Comments
I've encountered same issue lately. We have to rethink our generic approach to delete, because it leaves orphaned resources on the cluster. cc @bryk |
I definitely agree. We need to wait until this is implemented on the server side: kubernetes/kubernetes#19054 Otherwise, it is us duplicating kubectl and apiserver work. Thoughts? |
Nice. Didn't know about that. We should definitely wait for kubernetes to get this feature. |
Same here, looks like we should wait then, also good discussion about what the default should be. For me the default for UI should be same as for |
That's our goal :) |
In the upcoming 1.4 release, server-side cascading deletion of rc and rs is possible, dashboard just needs to send to apiserver a deletion request with We will work on the other use cases in 1.5. |
Great! We should support this. |
@caesarxuchao Cool, thanks. Will we get cascade delete for free for future use cases when we just send |
Plus remove unused RC delete code. Re kubernetes#980
@bryk what are the future use cases you have in mind? We will support cascading deletion for Deployment in the future. |
Can't test right now, but Jobs would be good. On a sidenote: Does deletion of namespaces (I'd guess that always incl all their resources) work in Dashboard? |
@puja108 We dont (yet) support deletion/modification of cluster admin resources. It is challenging, as you already noticed, so we want to tackle this only when we have time to do this right. |
Yes, cases like cascade delete for Deployments or Namespaces. |
Plus remove unused RC delete code. Re #980
Plus remove unused RC delete code. Re kubernetes#980
Will track it from #1570. |
Issue details
When deleting a deployment/rc/rs in dashboard the delete does not cascade like it does with
kubectl delete
. I'd say the cascading should be the expected behavior as it is also the default withkubectl
.Environment
Steps to reproduce
Observed result
The delete does not cascade to resources managed by the deleted resource.
Expected result
Cascading delete like with
kubectl delete
(default behavior), i.e. deployment->rs->pods; rs->pods; rc->podsComments
The text was updated successfully, but these errors were encountered: