Open andrey-gava opened 3 years ago
mount hostPath /var/lib/containerd to the agent pod can fix the err.
If you're using agentless (which is good!) then you'll need to rebuild (follow the build from source instructions in the README.md) the project with the following changes in pkg/plugin/cmd.go
Add varlibcontainerd to Volumes: []corev1.Volume section like this:
{
Name: "varlibcontainerd",
VolumeSource: corev1.VolumeSource{
HostPath: &corev1.HostPathVolumeSource{
Path: "/var/lib/containerd",
},
},
},
Add varlibcontainerd to VolumeMounts section like this:
{
Name: "vardata",
MountPath: "/var/data",
},
{
Name: "varlibcontainerd",
MountPath: "/var/lib/containerd",
},
Hello!
Container runtime - containerd Kubectl-debug version v0.2.0-rc and v0.1.1
I get this kind of errors in agentless=true and with daemonset agents deployed: