Closed linemos closed 6 years ago
@gtcno It should, but it does not. I have not found out why.
Cannot reproduce the problem right now. Perhaps the bug was somewhere else... 🤔
This is a wormhole. But i thought this was fixed here https://github.com/kubernetes/kubernetes/pull/44058.
I do think we should be careful with deleting resources that we dont explicitly create. Are we sure the deployment controller doesnt recreate a replicaset if you delete one that is created by a deployment? And yeah we do delete the deployment. But kubernetes controllers are asyn so race conditions might occur.
Why is this necessary? Does a delete of a deployment not trigger a cascading delete of rs?