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:
Kubernetes Prow Robot 2019-10-08 10:57:10 -07:00 committed by GitHub
commit cc8bfd1cdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1835,7 +1835,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)))