mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Merge pull request #21208 from dchen1107/test
Collect kern.log from nodes for debugging.
This commit is contained in:
commit
e03c632a5e
@ -62,6 +62,7 @@ func CoreDump(dir string) {
|
|||||||
cmds = append(cmds, []command{
|
cmds = append(cmds, []command{
|
||||||
{"cat /var/log/kubelet.log", "kubelet"},
|
{"cat /var/log/kubelet.log", "kubelet"},
|
||||||
{"cat /var/log/supervisor/supervisord.log", "supervisord"},
|
{"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{
|
cmds = append(cmds, []command{
|
||||||
{"cat /var/log/kubelet.log", "kubelet"},
|
{"cat /var/log/kubelet.log", "kubelet"},
|
||||||
{"cat /var/log/supervisor/supervisord.log", "supervisord"},
|
{"cat /var/log/supervisor/supervisord.log", "supervisord"},
|
||||||
{"cat /var/log/dmesg", "dmesg"},
|
{"cat /var/log/kern.log", "kern.log"},
|
||||||
}...)
|
}...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user