Skip to content

Commit

Permalink
UPSTREAM: <drop>: Revert "UPSTREAM: 98137: kubelet: avoid logspam 'ku…
Browse files Browse the repository at this point in the history
…belet nodes sync'"

This reverts commit a6a4a10.
  • Loading branch information
soltysh committed May 24, 2021
1 parent bdffb03 commit 4d9d28b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/kubelet/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
nodeLister = kubeInformers.Core().V1().Nodes().Lister()
nodeHasSynced = func() bool {
if kubeInformers.Core().V1().Nodes().Informer().HasSynced() {
klog.Infof("kubelet nodes sync")
return true
}
klog.Infof("kubelet nodes not sync")
Expand Down

0 comments on commit 4d9d28b

Please sign in to comment.