Skip to content

Commit 010207b

Browse files
committed
feat(helm): Allow Pod priority, priorityClassName, and preemptionPolicy to be configured
1 parent 974e775 commit 010207b

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

deploy/helm/listener-operator/templates/csi-node-driver-daemonset.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,3 +121,12 @@ spec:
121121
tolerations:
122122
{{- toYaml . | nindent 8 }}
123123
{{- end }}
124+
{{- with .Values.csiNodeDriver.priority }}
125+
priority: {{ . }}
126+
{{- end }}
127+
{{- with .Values.csiNodeDriver.priorityClassName }}
128+
priorityClassName: {{ . }}
129+
{{- end }}
130+
{{- with .Values.csiNodeDriver.preemptionPolicy }}
131+
preemptionPolicy: {{ . }}
132+
{{- end }}

deploy/helm/listener-operator/templates/csi-provisioner-deployment.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,12 @@ spec:
110110
tolerations:
111111
{{- toYaml . | nindent 8 }}
112112
{{- end }}
113+
{{- with .Values.csiProvisioner.priority }}
114+
priority: {{ . }}
115+
{{- end }}
116+
{{- with .Values.csiProvisioner.priorityClassName }}
117+
priorityClassName: {{ . }}
118+
{{- end }}
119+
{{- with .Values.csiProvisioner.preemptionPolicy }}
120+
preemptionPolicy: {{ . }}
121+
{{- end }}

deploy/helm/listener-operator/values.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ csiProvisioner:
1919

2020
affinity: {}
2121

22+
# priority: ...
23+
# priorityClassName: ...
24+
# preemptionPolicy: ...
25+
2226
controllerService:
2327
resources:
2428
# Resource requests and limits for the controller pod
@@ -68,6 +72,10 @@ csiNodeDriver:
6872

6973
affinity: {}
7074

75+
# priority: ...
76+
# priorityClassName: ...
77+
# preemptionPolicy: ...
78+
7179
nodeService:
7280
resources:
7381
# Resource requests and limits for the controller pod

0 commit comments

Comments
 (0)