@@ -381,7 +381,7 @@ func (m *manager) removeStaleState() {
381
381
for podUID := range assignments {
382
382
for containerName := range assignments [podUID ] {
383
383
if _ , ok := activeContainers [podUID ][containerName ]; ok {
384
- klog .V (4 ).InfoS ("RemoveStaleState: container still active" , "podUID" , podUID , "containerName" , containerName )
384
+ klog .V (5 ).InfoS ("RemoveStaleState: container still active" , "podUID" , podUID , "containerName" , containerName )
385
385
continue
386
386
}
387
387
klog .V (2 ).InfoS ("RemoveStaleState: removing container" , "podUID" , podUID , "containerName" , containerName )
@@ -394,7 +394,7 @@ func (m *manager) removeStaleState() {
394
394
395
395
m .containerMap .Visit (func (podUID , containerName , containerID string ) {
396
396
if _ , ok := activeContainers [podUID ][containerName ]; ok {
397
- klog .V (4 ).InfoS ("RemoveStaleState: containerMap: container still active" , "podUID" , podUID , "containerName" , containerName )
397
+ klog .V (5 ).InfoS ("RemoveStaleState: containerMap: container still active" , "podUID" , podUID , "containerName" , containerName )
398
398
return
399
399
}
400
400
klog .V (2 ).InfoS ("RemoveStaleState: containerMap: removing container" , "podUID" , podUID , "containerName" , containerName )
@@ -414,7 +414,7 @@ func (m *manager) reconcileState() (success []reconciledContainer, failure []rec
414
414
for _ , pod := range m .activePods () {
415
415
pstatus , ok := m .podStatusProvider .GetPodStatus (pod .UID )
416
416
if ! ok {
417
- klog .V (4 ).InfoS ("ReconcileState: skipping pod; status not found" , "pod" , klog .KObj (pod ))
417
+ klog .V (5 ).InfoS ("ReconcileState: skipping pod; status not found" , "pod" , klog .KObj (pod ))
418
418
failure = append (failure , reconciledContainer {pod .Name , "" , "" })
419
419
continue
420
420
}
@@ -424,14 +424,14 @@ func (m *manager) reconcileState() (success []reconciledContainer, failure []rec
424
424
for _ , container := range allContainers {
425
425
containerID , err := findContainerIDByName (& pstatus , container .Name )
426
426
if err != nil {
427
- klog .V (4 ).InfoS ("ReconcileState: skipping container; ID not found in pod status" , "pod" , klog .KObj (pod ), "containerName" , container .Name , "err" , err )
427
+ klog .V (5 ).InfoS ("ReconcileState: skipping container; ID not found in pod status" , "pod" , klog .KObj (pod ), "containerName" , container .Name , "err" , err )
428
428
failure = append (failure , reconciledContainer {pod .Name , container .Name , "" })
429
429
continue
430
430
}
431
431
432
432
cstatus , err := findContainerStatusByName (& pstatus , container .Name )
433
433
if err != nil {
434
- klog .V (4 ).InfoS ("ReconcileState: skipping container; container status not found in pod status" , "pod" , klog .KObj (pod ), "containerName" , container .Name , "err" , err )
434
+ klog .V (5 ).InfoS ("ReconcileState: skipping container; container status not found in pod status" , "pod" , klog .KObj (pod ), "containerName" , container .Name , "err" , err )
435
435
failure = append (failure , reconciledContainer {pod .Name , container .Name , "" })
436
436
continue
437
437
}
@@ -474,7 +474,7 @@ func (m *manager) reconcileState() (success []reconciledContainer, failure []rec
474
474
475
475
lcset := m .lastUpdateState .GetCPUSetOrDefault (string (pod .UID ), container .Name )
476
476
if ! cset .Equals (lcset ) {
477
- klog .V (4 ).InfoS ("ReconcileState: updating container" , "pod" , klog .KObj (pod ), "containerName" , container .Name , "containerID" , containerID , "cpuSet" , cset )
477
+ klog .V (5 ).InfoS ("ReconcileState: updating container" , "pod" , klog .KObj (pod ), "containerName" , container .Name , "containerID" , containerID , "cpuSet" , cset )
478
478
err = m .updateContainerCPUSet (ctx , containerID , cset )
479
479
if err != nil {
480
480
klog .ErrorS (err , "ReconcileState: failed to update container" , "pod" , klog .KObj (pod ), "containerName" , container .Name , "containerID" , containerID , "cpuSet" , cset )
0 commit comments