Skip to content

Commit

Permalink
pkg/koordlet: update some log level to silence log (#1723)
Browse files Browse the repository at this point in the history
Signed-off-by: Zzde <[email protected]>
  • Loading branch information
zxh326 authored Oct 25, 2023
1 parent e6ecd29 commit f43d4fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (r *CPUSuppress) calculateBESuppressCPU(node *corev1.Node, nodeMetric float
nodeBESuppressCPU.Sub(systemUsedCPU)

metrics.RecordBESuppressLSUsedCPU(float64(podNoneBEUsedCPU.MilliValue()) / 1000)
klog.Infof("nodeSuppressBE[CPU(Core)]:%v = node.Total:%v * SLOPercent:%v%% - systemUsage:%v - podLSUsed:%v, upper to %v\n",
klog.V(6).Infof("nodeSuppressBE[CPU(Core)]:%v = node.Total:%v * SLOPercent:%v%% - systemUsage:%v - podLSUsed:%v, upper to %v\n",
nodeBESuppressCPU.AsApproximateFloat64(), node.Status.Allocatable.Cpu().AsApproximateFloat64(), beCPUUsedThreshold, systemUsedCPU.AsApproximateFloat64(),
podNoneBEUsedCPU.AsApproximateFloat64(), nodeBESuppressCPU.Value())

Expand Down
2 changes: 1 addition & 1 deletion pkg/koordlet/statesinformer/impl/states_pods.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (s *podsInformer) syncPods() error {
s.podMap = newPodMap
s.podHasSynced.Store(true)
s.podUpdatedTime = time.Now()
klog.Infof("get pods success, len %d, time %s", len(s.podMap), s.podUpdatedTime.String())
klog.V(4).Infof("get pods success, len %d, time %s", len(s.podMap), s.podUpdatedTime.String())
s.callbackRunner.SendCallback(statesinformer.RegisterTypeAllPods)
return nil
}
Expand Down

0 comments on commit f43d4fd

Please sign in to comment.