Currently, when rootFsCollectionEnabled is enabled, and the containerRuntime is containerd. loggie collects container logs by accessing the mapped host directory("/proc/{pid}/root"), However, when the containerd's runtime is not the "runc", this way may not work. this PR adds support specifically for kata as the containerd runtime.
Proposed Changes:
This PR adds support specifically for kata as the containerd runtime. as the kata runtime, we are able to collect logs from
/run/kata-containers/shared/sandboxes//shared//rootfs in the corresponding hosts.
Currently, when rootFsCollectionEnabled is enabled, and the containerRuntime is containerd. loggie collects container logs by accessing the mapped host directory("/proc/{pid}/root"), However, when the containerd's runtime is not the "runc", this way may not work. this PR adds support specifically for kata as the containerd runtime.
Proposed Changes:
This PR adds support specifically for kata as the containerd runtime. as the kata runtime, we are able to collect logs from /run/kata-containers/shared/sandboxes//shared//rootfs in the corresponding hosts.