-
k8s-merge-robot authored
Automatic merge from submit-queue AllocateOrOccupyCIDR returs quickly Fix #26511. AllocateOrOccupy is called before adding a Node to NCs cache. It turns out that sending an update to API server can take too long which will make NC think that given Node does not exist and all Pods from it will be removed. The fix is to move the long part of the call (updating NodeSpec) to a separate go-routine. To prevent overloading the server and huge number of retries we limit the number of concurrent Update calls. cc @zmerlynn @davidopp
d4ffb031