Open perezjasonr opened 3 years ago
AFAIK there is no need to mount /var/lib/containerd
when running using cri runtime. /var/lib/docker
mount point is needed when using dockerd runtime, because /var/log/containers/*.log
are actually symlinks, real log files are in /var/lib/docker/containers/*/*.log
.
With cri runtime /var/log/containers/*.log
are still symlinks, but this time real files are in /var/log/pods/*.log
.
I noticed that there are notes about changing the parser to cri if you are using containerd or cri-o. but there is not an example manifest for it (daemonset, etc) and it doesn't say anywhere to also modify the volumes (i presume this is also not accounted for in the helm chart).
On a node running containerd as the runtime for k8s, there is no /var/lib/docker, but there is /var/lib/containerd, yet the ds will still mount (or try to) the docker dir.