mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Add detailed err in ensure docker process error
Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
This commit is contained in:
parent
8d9a9dcaf2
commit
ac86428d59
@ -95,7 +95,7 @@ func (m *containerManager) doWork() {
|
|||||||
// 1. Ensure processes run in the cgroups if m.cgroupsManager is not nil.
|
// 1. Ensure processes run in the cgroups if m.cgroupsManager is not nil.
|
||||||
// 2. Ensure processes have the OOM score applied.
|
// 2. Ensure processes have the OOM score applied.
|
||||||
if err := kubecm.EnsureDockerInContainer(version, dockerOOMScoreAdj, m.cgroupsManager); err != nil {
|
if err := kubecm.EnsureDockerInContainer(version, dockerOOMScoreAdj, m.cgroupsManager); err != nil {
|
||||||
glog.Errorf("Unable to ensure the docker processes run in the desired containers")
|
glog.Errorf("Unable to ensure the docker processes run in the desired containers: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user