mirror of https://github.com/k3s-io/k3s
Log pod name when pod status cannot be queried
parent
66ce52578a
commit
3fc16a7e82
|
@ -228,7 +228,7 @@ func (m *manager) reconcileState() (success []reconciledContainer, failure []rec
|
||||||
status, ok := m.podStatusProvider.GetPodStatus(pod.UID)
|
status, ok := m.podStatusProvider.GetPodStatus(pod.UID)
|
||||||
for _, container := range allContainers {
|
for _, container := range allContainers {
|
||||||
if !ok {
|
if !ok {
|
||||||
klog.Warningf("[cpumanager] reconcileState: skipping pod; status not found (pod: %s, container: %s)", pod.Name, container.Name)
|
klog.Warningf("[cpumanager] reconcileState: skipping pod; status not found (pod: %s)", pod.Name)
|
||||||
failure = append(failure, reconciledContainer{pod.Name, container.Name, ""})
|
failure = append(failure, reconciledContainer{pod.Name, container.Name, ""})
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue