feat(helm): possibility to add `priorityClassName` in helm chart for the pods
This commit is contained in:
parent
e0b5d9fae7
commit
9360cb5b66
|
@ -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
|
||||||
|
|
|
@ -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: {}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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: {}
|
||||||
|
|
Loading…
Reference in New Issue