diff --git a/deploy/charts/checkmk/templates/node-collector-container-metrics-ds.yaml b/deploy/charts/checkmk/templates/node-collector-container-metrics-ds.yaml index e327d69..09bd1bc 100644 --- a/deploy/charts/checkmk/templates/node-collector-container-metrics-ds.yaml +++ b/deploy/charts/checkmk/templates/node-collector-container-metrics-ds.yaml @@ -63,6 +63,9 @@ spec: {{- with .Values.nodeCollector.cadvisor.additionalArgs }} {{ toYaml . | nindent 12 }} {{- end }} + {{- if .Values.containerdOverride }} + - --containerd={{ .Values.containerdOverride }} + {{- end }} resources: {{- toYaml .Values.nodeCollector.cadvisor.resources | nindent 12 }} ports: diff --git a/deploy/charts/checkmk/values.yaml b/deploy/charts/checkmk/values.yaml index 7dfd00a..fc4f1cd 100644 --- a/deploy/charts/checkmk/values.yaml +++ b/deploy/charts/checkmk/values.yaml @@ -6,6 +6,10 @@ nameOverride: "" fullnameOverride: "" kubeVersionOverride: "" +## k3s and Rancher RKE2 host containerd in a different location. +## If you are using one of them, or containerd is located in an alternate location, please uncomment / adapt the override. +#containerdOverride: "/run/k3s/containerd/containerd.sock" + tlsCommunication: enabled: false verifySsl: false