[stable/mongodb-replicaset] Add priority class to pods (#10339)

* Add priority class to mongodb statefulset

Signed-off-by: Victor Boissiere <victor.boissiere@neo9.fr>

* Increase minor version

Signed-off-by: Victor Boissiere <victor.boissiere@neo9.fr>
This commit is contained in:
Victor Boissiere
2019-01-02 09:42:05 -08:00
committed by Kubernetes Prow Robot
parent 2f3e90f997
commit 27f22ff16f
4 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: mongodb-replicaset
home: https://github.com/mongodb/mongo
version: 3.8.7
version: 3.9.0
appVersion: 3.6
description: NoSQL document-oriented database that stores JSON-like documents with
dynamic schemas, simplifying the integration of data in content-driven applications.
+1
View File
@@ -86,6 +86,7 @@ The following table lists the configurable parameters of the mongodb chart and t
| `nodeSelector` | Node labels for pod assignment | `{}` |
| `affinity` | Node/pod affinities | `{}` |
| `tolerations` | List of node taints to tolerate | `[]` |
| `priorityClassName` | Pod priority class name | `` |
| `livenessProbe.failureThreshold` | Liveness probe failure threshold | `3` |
| `livenessProbe.initialDelaySeconds` | Liveness probe initial delay seconds | `30` |
| `livenessProbe.periodSeconds` | Liveness probe period seconds | `10` |
@@ -36,6 +36,9 @@ spec:
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
spec:
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- if .Values.imagePullSecrets }}
imagePullSecrets:
{{- range .Values.imagePullSecrets }}
+2
View File
@@ -92,6 +92,8 @@ tolerations: []
extraLabels: {}
# priorityClassName: ""
persistentVolume:
enabled: true
## mongodb-replicaset data Persistent Volume Storage Class