mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-18 16:21:13 +00:00
Reduce log spam in qos container manager
This commit is contained in:
parent
8db9372ecf
commit
328a12d160
@ -317,7 +317,7 @@ func (m *qosContainerManagerImpl) UpdateCgroups() error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if updateSuccess {
|
if updateSuccess {
|
||||||
glog.V(2).Infof("[ContainerManager]: Updated QoS cgroup configuration")
|
glog.V(4).Infof("[ContainerManager]: Updated QoS cgroup configuration")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -334,12 +334,12 @@ func (m *qosContainerManagerImpl) UpdateCgroups() error {
|
|||||||
for _, config := range qosConfigs {
|
for _, config := range qosConfigs {
|
||||||
err := m.cgroupManager.Update(config)
|
err := m.cgroupManager.Update(config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
glog.V(2).Infof("[ContainerManager]: Failed to update QoS cgroup configuration")
|
glog.Errorf("[ContainerManager]: Failed to update QoS cgroup configuration")
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
glog.V(2).Infof("[ContainerManager]: Updated QoS cgroup configuration on retry")
|
glog.V(4).Infof("[ContainerManager]: Updated QoS cgroup configuration on retry")
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user