mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Reduce verbose logs in MetaAllocator
"Finished sync for CIDRs" was logged every 10 mins even there was no change. Signed-off-by: Quan Tian <qtian@vmware.com>
This commit is contained in:
parent
9c1c603fbe
commit
0ef42133a1
@ -178,7 +178,7 @@ func (c *MetaAllocator) processNextItem() bool {
|
||||
func (c *MetaAllocator) syncTree() error {
|
||||
now := time.Now()
|
||||
defer func() {
|
||||
klog.Infof("Finished sync for CIDRs took %v", time.Since(now))
|
||||
klog.V(2).Infof("Finished sync for CIDRs took %v", time.Since(now))
|
||||
}()
|
||||
|
||||
serviceCIDRs, err := c.serviceCIDRLister.List(labels.Everything())
|
||||
|
Loading…
Reference in New Issue
Block a user