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