From d30ed7651e491c62f824edd8b9873b6fd79b16ca Mon Sep 17 00:00:00 2001 From: Vova Nekhai Date: Tue, 27 Dec 2022 22:01:11 +0200 Subject: [PATCH] add mount of /run/containerd/containerd.sock https://github.com/aws/amazon-cloudwatch-agent/issues/188 --- .../anodot-cost-k8s-cw-agent/templates/daemonset.tpl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/helm-chart-sources/anodot-cost-k8s-cw-agent/templates/daemonset.tpl b/helm-chart-sources/anodot-cost-k8s-cw-agent/templates/daemonset.tpl index 1177e85..c9cfe99 100644 --- a/helm-chart-sources/anodot-cost-k8s-cw-agent/templates/daemonset.tpl +++ b/helm-chart-sources/anodot-cost-k8s-cw-agent/templates/daemonset.tpl @@ -51,6 +51,9 @@ spec: - name: varlibdocker mountPath: /var/lib/docker readOnly: true + - name: containerdsock + mountPath: /run/containerd/containerd.sock + readOnly: true - name: sys mountPath: /sys readOnly: true @@ -67,6 +70,9 @@ spec: - name: dockersock hostPath: path: /var/run/docker.sock + - name: containerdsock + hostPath: + path: /run/containerd/containerd.sock - name: varlibdocker hostPath: path: /var/lib/docker