Support of Pod Priority for Statefulset (#8028)

Signed-off-by: Kessler dev <kessler.dev@gmail.com>
This commit is contained in:
Kessler
2018-10-05 08:01:39 -07:00
committed by k8s-ci-robot
parent c723d43294
commit f6aff097fd
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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:
+4
View File
@@ -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