Merge pull request #116470 from alexanderConstantinescu/kep-3836-impl

[Kube-proxy]: Implement KEP-3836
This commit is contained in:
Kubernetes Prow Robot
2023-07-15 05:43:04 -07:00
committed by GitHub
8 changed files with 306 additions and 12 deletions

View File

@@ -902,6 +902,7 @@ func (proxier *Proxier) OnNodeDelete(node *v1.Node) {
klog.ErrorS(nil, "Received a watch event for a node that doesn't match the current node", "eventNode", node.Name, "currentNode", proxier.hostname)
return
}
proxier.mu.Lock()
proxier.nodeLabels = nil
proxier.mu.Unlock()