Skip to content

Commit 4b613ae

Browse files
committed
node: device-mgr: Bump log level for expected skips
Signed-off-by: Swati Sehgal <[email protected]>
1 parent 584e224 commit 4b613ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/kubelet/cm/devicemanager/manager.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ func (m *ManagerImpl) GetDeviceRunContainerOptions(pod *v1.Pod, container *v1.Co
952952
}
953953

954954
if !m.checkPodActive(pod) {
955-
klog.InfoS("pod deleted from activePods, skip to reAllocate", "pod", klog.KObj(pod), "podUID", podUID, "containerName", container.Name)
955+
klog.V(5).InfoS("pod deleted from activePods, skip to reAllocate", "pod", klog.KObj(pod), "podUID", podUID, "containerName", container.Name)
956956
continue
957957
}
958958

@@ -984,7 +984,7 @@ func (m *ManagerImpl) callPreStartContainerIfNeeded(podUID, contName, resource s
984984

985985
if eI.opts == nil || !eI.opts.PreStartRequired {
986986
m.mutex.Unlock()
987-
klog.V(4).InfoS("Plugin options indicate to skip PreStartContainer for resource", "podUID", podUID, "resourceName", resource, "containerName", contName)
987+
klog.V(5).InfoS("Plugin options indicate to skip PreStartContainer for resource", "podUID", podUID, "resourceName", resource, "containerName", contName)
988988
return nil
989989
}
990990

@@ -1014,7 +1014,7 @@ func (m *ManagerImpl) callGetPreferredAllocationIfAvailable(podUID, contName, re
10141014
}
10151015

10161016
if eI.opts == nil || !eI.opts.GetPreferredAllocationAvailable {
1017-
klog.V(4).InfoS("Plugin options indicate to skip GetPreferredAllocation for resource", "resourceName", resource, "podUID", podUID, "containerName", contName)
1017+
klog.V(5).InfoS("Plugin options indicate to skip GetPreferredAllocation for resource", "resourceName", resource, "podUID", podUID, "containerName", contName)
10181018
return nil, nil
10191019
}
10201020

0 commit comments

Comments
 (0)