Skip to content

Commit cbf3c16

Browse files
diego-ojeda-binbashyekibud
authored andcommitted
Add Kubernetes Priority Classes support
1 parent 31dd380 commit cbf3c16

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

couchdb/templates/statefulset.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ spec:
215215
{{- with .Values.topologySpreadConstraints }}
216216
topologySpreadConstraints:
217217
{{ toYaml . | indent 8 }}
218+
{{- end }}
219+
{{- with .Values.priorityClassName }}
220+
priorityClassName: {{ . | quote }}
218221
{{- end }}
219222
volumes:
220223
- name: config-storage

couchdb/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,3 +292,6 @@ placementConfig:
292292
image:
293293
repository: caligrafix/couchdb-autoscaler-placement-manager
294294
tag: 0.1.0
295+
296+
# Optional priority class to be used for CouchDB pods
297+
priorityClassName: ""

0 commit comments

Comments
 (0)