mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
add logging around pod_container_deletor DeleteContainer
This commit is contained in:
parent
08e1fd3bb9
commit
a464299e97
@ -48,7 +48,9 @@ func newPodContainerDeletor(runtime kubecontainer.Runtime, containersToKeep int)
|
||||
go wait.Until(func() {
|
||||
for {
|
||||
id := <-buffer
|
||||
runtime.DeleteContainer(id)
|
||||
if err := runtime.DeleteContainer(id); err != nil {
|
||||
klog.Warningf("[pod_container_deletor] DeleteContainer returned error for (id=%v): %v", id, err)
|
||||
}
|
||||
}
|
||||
}, 0, wait.NeverStop)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user