Merge pull request #12468 from joggeli34/add-priorityClassName-for-pods

feat(helm): possibility to add `priorityClassName` in helm chart for pods
This commit is contained in:
William Yang 2024-02-05 13:09:56 +01:00 committed by GitHub
commit e7688fcf9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 0 deletions

View File

@ -56,6 +56,9 @@ spec:
{{- end }} {{- end }}
spec: spec:
serviceAccountName: {{ include "emqx.serviceAccountName" . }} serviceAccountName: {{ include "emqx.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
volumes: volumes:
{{- if .Values.ssl.enabled }} {{- if .Values.ssl.enabled }}
- name: ssl-cert - 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. ## Sets the minReadySeconds parameter on the stateful set. This can be used to add delay between restart / updates between the single pods.
minReadySeconds: minReadySeconds:
## Sets the priorityClassName parameter on the pods. This can be used to run the pods with increased priority.
priorityClassName:
clusterDomain: cluster.local clusterDomain: cluster.local
podAnnotations: {} podAnnotations: {}

View File

@ -56,6 +56,9 @@ spec:
{{- end }} {{- end }}
spec: spec:
serviceAccountName: {{ include "emqx.serviceAccountName" . }} serviceAccountName: {{ include "emqx.serviceAccountName" . }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
volumes: volumes:
{{- if .Values.ssl.enabled }} {{- if .Values.ssl.enabled }}
- name: ssl-cert - 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. ## Sets the minReadySeconds parameter on the stateful set. This can be used to add delay between restart / updates between the single pods.
minReadySeconds: minReadySeconds:
## Sets the priorityClassName parameter on the pods. This can be used to run the pods with increased priority.
priorityClassName:
clusterDomain: cluster.local clusterDomain: cluster.local
podAnnotations: {} podAnnotations: {}