mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Merge pull request #95411 from MHBauer/log-containerd
always collect containerd logs during e2e-node tests
This commit is contained in:
commit
1a37266208
@ -79,6 +79,11 @@ var requiredLogs = []LogFileData{
|
|||||||
Files: []string{"/var/log/docker.log", "/var/log/upstart/docker.log"},
|
Files: []string{"/var/log/docker.log", "/var/log/upstart/docker.log"},
|
||||||
JournalctlCommand: []string{"-u", "docker"},
|
JournalctlCommand: []string{"-u", "docker"},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Name: "containerd.log",
|
||||||
|
Files: []string{"/var/log/containerd.log"},
|
||||||
|
JournalctlCommand: []string{"-u", "containerd"},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
// getLogFiles get all logs to collect after the test.
|
// getLogFiles get all logs to collect after the test.
|
||||||
|
Loading…
Reference in New Issue
Block a user