Skip to content

Commit

Permalink
Update node-collector-container-metrics-ds.yaml and values.yml
Browse files Browse the repository at this point in the history
* Added the containerd path if specified via the values.yml
* Adjusted the values.yml to allow customization of the containerd
  runtime path

Change-Id: I600776dbccbc5a97efbdce0db41d9efd78319912
  • Loading branch information
unixbird authored and SoloJacobs committed Sep 18, 2023
1 parent 5369235 commit c2b5de7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions deploy/charts/checkmk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2b5de7

Please sign in to comment.