Skip to content

Commit

Permalink
fix: Add tolerations in helm chart.
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuspie committed Dec 5, 2024
1 parent 872ebe4 commit 00342aa
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/gpu-metrics-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end}}
{{- with .Values.gpuMetricsExporter.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: castai-gpu-metrics-exporter
securityContext:
Expand Down
4 changes: 4 additions & 0 deletions charts/gpu-metrics-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ gpuMetricsExporter:
readOnlyRootFilesystem: true
runAsNonRoot: true
port: 6061
tolerations:
- key: "nvidia.com/gpu"
value: "true"
effect: "NoSchedule"

dcgmExporter:
enabled: true
Expand Down

0 comments on commit 00342aa

Please sign in to comment.