diff --git a/pkg/controller/node/node_controller.go b/pkg/controller/node/node_controller.go index fa89efbbd3b..e34d0c85be3 100644 --- a/pkg/controller/node/node_controller.go +++ b/pkg/controller/node/node_controller.go @@ -134,10 +134,10 @@ type NodeController struct { // is just created, e.g. cluster bootstrap or node creation, we give a longer grace period. nodeStartupGracePeriod time.Duration // per Node map storing last observed Status together with a local time when it was observed. + nodeStatusMap map[string]nodeStatusData // This timestamp is to be used instead of LastProbeTime stored in Condition. We do this // to aviod the problem with time skew across the cluster. - nodeStatusMap map[string]nodeStatusData - now func() metav1.Time + now func() metav1.Time // Lock to access evictor workers evictorLock sync.Mutex // workers that evicts pods from unresponsive nodes.