Skip to content

Commit

Permalink
Add PriorityClass support to StatefulSet Pod template (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
booleanbetrayal authored Sep 4, 2023
1 parent d101737 commit afdec2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/qdrant/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
initContainers:
{{- if .Values.updateVolumeFsOwnership }}
{{- if and .Values.containerSecurityContext .Values.containerSecurityContext.runAsUser }}
Expand Down
2 changes: 2 additions & 0 deletions charts/qdrant/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,8 @@ metrics:
##
relabelings: []

priorityClassName: ""

podDisruptionBudget:
enabled: false
maxUnavailable: 1
Expand Down

0 comments on commit afdec2c

Please sign in to comment.