Commit e03c632a authored by Dawn Chen's avatar Dawn Chen

Merge pull request #21208 from dchen1107/test

Collect kern.log from nodes for debugging.
parents 9e9574c4 c801fa58
......@@ -62,6 +62,7 @@ func CoreDump(dir string) {
cmds = append(cmds, []command{
{"cat /var/log/kubelet.log", "kubelet"},
{"cat /var/log/supervisor/supervisord.log", "supervisord"},
{"cat /var/log/kern.log", "kern.log"},
}...)
}
......@@ -87,7 +88,7 @@ func CoreDump(dir string) {
cmds = append(cmds, []command{
{"cat /var/log/kubelet.log", "kubelet"},
{"cat /var/log/supervisor/supervisord.log", "supervisord"},
{"cat /var/log/dmesg", "dmesg"},
{"cat /var/log/kern.log", "kern.log"},
}...)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment