mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
endpointslice: don't try to update topology cache if node informer error
This commit is contained in:
parent
49dc226381
commit
60502c9b32
@ -539,6 +539,7 @@ func (c *Controller) checkNodeTopologyDistribution() {
|
||||
nodes, err := c.nodeLister.List(labels.Everything())
|
||||
if err != nil {
|
||||
klog.Errorf("Error listing Nodes: %v", err)
|
||||
return
|
||||
}
|
||||
c.topologyCache.SetNodes(nodes)
|
||||
serviceKeys := c.topologyCache.GetOverloadedServices()
|
||||
|
Loading…
Reference in New Issue
Block a user