Skip to content

Commit

Permalink
Merge branch 'add_affinity_usage' into 'master'
Browse files Browse the repository at this point in the history
added affinity field in daemonset

See merge request nvidia/container-toolkit/gpu-monitoring-tools!18
  • Loading branch information
RenaudWasTaken committed Jun 3, 2020
2 parents 090de5f + de39580 commit b5736c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion deployment/dcgm-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,10 @@ spec:
initialDelaySeconds: 5
resources:
{{- toYaml .Values.resources | nindent 12 }}

{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit b5736c9

Please sign in to comment.