mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Fix log level for runtime error in kubelet.go
This commit is contained in:
parent
1fba88884b
commit
8a7aaad6bd
@ -1821,7 +1821,7 @@ func (kl *Kubelet) syncLoop(updates <-chan kubetypes.PodUpdate, handler SyncHand
|
||||
duration := base
|
||||
for {
|
||||
if err := kl.runtimeState.runtimeErrors(); err != nil {
|
||||
klog.Infof("skipping pod synchronization - %v", err)
|
||||
klog.Errorf("skipping pod synchronization - %v", err)
|
||||
// exponential backoff
|
||||
time.Sleep(duration)
|
||||
duration = time.Duration(math.Min(float64(max), factor*float64(duration)))
|
||||
|
Loading…
Reference in New Issue
Block a user