Skip to content

Commit 0ac3259

Browse files
authored
Merge branch 'main' into feat/include-proc-info
2 parents 9aa3fb4 + 418125c commit 0ac3259

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

charts/core-dump-handler/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ The following secrets are configurable and map to the corresponding environment
261261
### Values
262262
263263
General
264+
* priorityClassName: The priorityClass of the daemonset pods ( Default nil )
264265
* storage: The size of the storage for the cores (Default 1Gi)
265266
* storageClass: The storage class for volume (Default hostclass)
266267

charts/core-dump-handler/templates/daemonset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ spec:
142142
{{- toYaml . | nindent 8 }}
143143
{{- end }}
144144
serviceAccountName: {{ include "core-dump-handler.serviceAccountName" . }}
145+
{{- if .Values.priorityClassName }}
146+
priorityClassName: {{ .Values.priorityClassName }}
147+
{{- end }}
145148
volumes:
146149
- name: host-volume
147150
persistentVolumeClaim:

charts/core-dump-handler/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ nodeSelector: {}
8686
# gpu-enabled: true
8787
affinity: {}
8888

89+
# priorityClassName for assigning priorityClass to the daemonset pods
90+
priorityClassName:
91+
8992
# Tolerations for the daemonset's pod assignment
9093
# ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
9194
tolerations: []

0 commit comments

Comments
 (0)