![]() Automatic merge from submit-queue Namespace controller deletes pods last I think this fixes https://github.com/kubernetes/kubernetes/issues/29308 or at least helps further reduce the incidence. This PR changes the order in which namespace controller prioritizes resources for deletion. It deletes all resources before deleting pods. The rationale for this change is to broadcast deletion of controllers that spawn pods first rather than trip those controllers up into thinking they should spawn more pods which would increase the risk of causing races with the `NamespaceLifecycle` admission plug-in. Many of those controllers also are not rate-limited in the face of rejection, so rather than promote a situation where they are rejected, we promote a situation that removes those things first. |
||
---|---|---|
.. | ||
doc.go | ||
namespace_controller_test.go | ||
namespace_controller_utils.go | ||
namespace_controller.go |