feat(helm): possibility to add `priorityClassName` in helm chart for the pods

This commit is contained in:
Adrian Pauli 2024-02-02 15:53:28 +01:00
parent e0b5d9fae7
commit 9360cb5b66
4 changed files with 12 additions and 0 deletions

View File

@ -56,6 +56,9 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ include "emqx.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
volumes:
{{- if .Values.ssl.enabled }}
- name: ssl-cert

View File

@ -38,6 +38,9 @@ recreatePods: false
## Sets the minReadySeconds parameter on the stateful set. This can be used to add delay between restart / updates between the single pods.
minReadySeconds:
## Sets the priorityClassName parameter on the pods. This can be used to run the pods with increased priority.
priorityClassName:
clusterDomain: cluster.local
podAnnotations: {}

View File

@ -56,6 +56,9 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ include "emqx.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
volumes:
{{- if .Values.ssl.enabled }}
- name: ssl-cert

View File

@ -38,6 +38,9 @@ recreatePods: false
## Sets the minReadySeconds parameter on the stateful set. This can be used to add delay between restart / updates between the single pods.
minReadySeconds:
## Sets the priorityClassName parameter on the pods. This can be used to run the pods with increased priority.
priorityClassName:
clusterDomain: cluster.local
podAnnotations: {}