You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert uncommon use of ErrorS(nil, ...) into more
regular use of InfoS. Set the verbosiness level to
make sure the message is still emitted in regular
expected configuration.
Signed-off-by: Francesco Romani <[email protected]>
klog.ErrorS(nil, "CPUs already allocated to container with different number than request", "pod", klog.KObj(pod), "containerName", container.Name, "requestedSize", requested, "allocatedSize", allocated.Size())
518
+
klog.InfoS("CPUs already allocated to container with different number than request", "pod", klog.KObj(pod), "containerName", container.Name, "requestedSize", requested, "allocatedSize", allocated.Size())
519
519
// An empty list of hints will be treated as a preference that cannot be satisfied.
520
520
// In definition of hints this is equal to: TopologyHint[NUMANodeAffinity: nil, Preferred: false].
521
521
// For all but the best-effort policy, the Topology Manager will throw a pod-admission error.
klog.ErrorS(nil, "CPUs already allocated to container with different number than request", "pod", klog.KObj(pod), "containerName", container.Name, "allocatedSize", requested, "requestedByContainer", requestedByContainer, "allocatedSize", allocated.Size())
568
+
klog.InfoS("CPUs already allocated to container with different number than request", "pod", klog.KObj(pod), "containerName", container.Name, "allocatedSize", requested, "requestedByContainer", requestedByContainer, "allocatedSize", allocated.Size())
569
569
// An empty list of hints will be treated as a preference that cannot be satisfied.
570
570
// In definition of hints this is equal to: TopologyHint[NUMANodeAffinity: nil, Preferred: false].
571
571
// For all but the best-effort policy, the Topology Manager will throw a pod-admission error.
0 commit comments