mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Support of Pod Priority for Statefulset (#8028)
Signed-off-by: Kessler dev <kessler.dev@gmail.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: rabbitmq-ha
|
||||
apiVersion: v1
|
||||
appVersion: 3.7.4
|
||||
version: 1.10.0
|
||||
version: 1.11.0
|
||||
description: Highly available RabbitMQ cluster, the open source message broker
|
||||
software that implements the Advanced Message Queuing Protocol (AMQP).
|
||||
keywords:
|
||||
|
||||
@@ -136,6 +136,7 @@ and their default values.
|
||||
| `podAnnotations` | Extra annotations to add to pod | `{}` |
|
||||
| `terminationGracePeriodSeconds` | Duration pod needs to terminate gracefully | `10` |
|
||||
| `updateStrategy` | Statefulset update strategy | `OnDelete` |
|
||||
| `priorityClassName` | Statefulsets Pod Priority | `` |
|
||||
| `extraLabels` | Labels to add to the Resources | `{}` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
@@ -246,6 +246,9 @@ spec:
|
||||
defaultMode: 420
|
||||
secretName: {{ template "rabbitmq-ha.certSecretName" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: {{ .Values.priorityClassName }}
|
||||
{{- end }}
|
||||
{{- if .Values.persistentVolume.enabled }}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
|
||||
@@ -208,6 +208,10 @@ service:
|
||||
##
|
||||
updateStrategy: OnDelete
|
||||
|
||||
## Statefulsets Pod Priority
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
|
||||
## priorityClassName: ""
|
||||
|
||||
## We usually recommend not to specify default resources and to leave this as
|
||||
## a conscious choice for the user. This also increases chances charts run on
|
||||
## environments with little resources, such as Minikube. If you do want to
|
||||
|
||||
Reference in New Issue
Block a user