mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/redis] Support defining PriorityClass (#10238)
* [stable/redis] Support defining PriorityClass Signed-off-by: Renat Galiev <renat@galiev.net> * [stable/redis] Support defining PriorityClass updated values-production.yaml Signed-off-by: Renat Galiev <renat@galiev.net>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9448d0293b
commit
474e325078
@@ -1,5 +1,5 @@
|
||||
name: redis
|
||||
version: 5.1.6
|
||||
version: 5.2.0
|
||||
appVersion: 4.0.12
|
||||
description: Open source, advanced key-value store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets and sorted sets.
|
||||
keywords:
|
||||
|
||||
@@ -124,6 +124,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `metrics.serviceMonitor.namespace` | Optional namespace which Prometheus is running in | `nil` |
|
||||
| `metrics.serviceMonitor.interval` | How frequently to scrape metrics (use by default, falling back to Prometheus' default) | `nil` |
|
||||
| `metrics.serviceMonitor.selector` | Default to kube-prometheus install (CoreOS recommended), but should be set according to Prometheus install | `{ prometheus: kube-prometheus }` |
|
||||
| `metrics.priorityClassName` | Metrics exporter pod priorityClassName | {} |
|
||||
| `persistence.existingClaim` | Provide an existing PersistentVolumeClaim | `nil` |
|
||||
| `master.persistence.enabled` | Use a PVC to persist data (master node) | `true` |
|
||||
| `master.persistence.path` | Path to mount the volume at, to use other images | `/data` |
|
||||
@@ -164,6 +165,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `master.readinessProbe.timeoutSeconds` | When the probe times out (redis master pod) | `1` |
|
||||
| `master.readinessProbe.successThreshold` | Minimum consecutive successes for the probe to be considered successful after having failed (redis master pod) | `1` |
|
||||
| `master.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe to be considered failed after having succeeded. | `5` |
|
||||
| `master.priorityClassName` | Redis Master pod priorityClassName | {} |
|
||||
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
|
||||
| `volumePermissions.image.repository` | Init container volume-permissions image name | `bitnami/minideb` |
|
||||
| `volumePermissions.image.tag` | Init container volume-permissions image tag | `latest` |
|
||||
@@ -195,7 +197,8 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `slave.securityContext.fsGroup` | Group ID for the container (redis slave pod) | `master.securityContext.fsGroup` |
|
||||
| `slave.securityContext.runAsUser` | User ID for the container (redis slave pod) | `master.securityContext.runAsUser` |
|
||||
| `slave.resources` | Redis slave CPU/Memory resource requests/limits | `master.resources` |
|
||||
| `slave.affinity` | Affinity settings for Redis slave pod assignment | {} |
|
||||
| `slave.affinity` | Enable node/pod affinity for slaves | {} |
|
||||
| `slave.priorityClassName` | Redis Slave pod priorityClassName | {} |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -41,6 +41,9 @@ spec:
|
||||
{{ toYaml .Values.metrics.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: "{{ template "redis.serviceAccountName" . }}"
|
||||
{{- if .Values.metrics.priorityClassName }}
|
||||
priorityClassName: "{{ .Values.metrics.priorityClassName }}"
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.metrics.tolerations | indent 8 }}
|
||||
|
||||
@@ -44,6 +44,9 @@ spec:
|
||||
runAsUser: {{ .Values.master.securityContext.runAsUser }}
|
||||
{{- end }}
|
||||
serviceAccountName: "{{ template "redis.serviceAccountName" . }}"
|
||||
{{- if .Values.master.priorityClassName }}
|
||||
priorityClassName: "{{ .Values.master.priorityClassName }}"
|
||||
{{- end }}
|
||||
{{- with .Values.master.affinity }}
|
||||
affinity:
|
||||
{{ tpl (toYaml .) $ | indent 8 }}
|
||||
|
||||
@@ -48,6 +48,9 @@ spec:
|
||||
{{- /* Include master securityContext if slave securityContext not defined */ -}}
|
||||
{{ include "redis.slave.securityContext" . | indent 6 }}
|
||||
serviceAccountName: "{{ template "redis.serviceAccountName" . }}"
|
||||
{{- if .Values.slave.priorityClassName }}
|
||||
priorityClassName: "{{ .Values.slave.priorityClassName }}"
|
||||
{{- end }}
|
||||
{{- if (.Values.slave.nodeSelector | default .Values.master.nodeSelector) }}
|
||||
nodeSelector:
|
||||
{{ toYaml (.Values.slave.nodeSelector | default .Values.master.nodeSelector) | indent 8 }}
|
||||
|
||||
@@ -216,6 +216,8 @@ master:
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
# rollingUpdatePartition:
|
||||
|
||||
## Redis Master pod priorityClassName
|
||||
# priorityClassName: {}
|
||||
|
||||
##
|
||||
## Redis Slave properties
|
||||
@@ -293,6 +295,9 @@ slave:
|
||||
# fsGroup: 1001
|
||||
# runAsUser: 1001
|
||||
|
||||
## Redis slave pod priorityClassName
|
||||
# priorityClassName: {}
|
||||
|
||||
## Prometheus Exporter / Metrics
|
||||
##
|
||||
metrics:
|
||||
@@ -349,6 +354,9 @@ metrics:
|
||||
selector:
|
||||
prometheus: kube-prometheus
|
||||
|
||||
## Metrics exporter pod priorityClassName
|
||||
# priorityClassName: {}
|
||||
|
||||
##
|
||||
## Init containers parameters:
|
||||
## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup
|
||||
|
||||
@@ -215,6 +215,9 @@ master:
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
# rollingUpdatePartition:
|
||||
|
||||
## Redis Master pod priorityClassName
|
||||
# priorityClassName: {}
|
||||
|
||||
|
||||
##
|
||||
## Redis Slave properties
|
||||
@@ -292,6 +295,9 @@ slave:
|
||||
# fsGroup: 1001
|
||||
# runAsUser: 1001
|
||||
|
||||
## Redis slave pod priorityClassName
|
||||
# priorityClassName: {}
|
||||
|
||||
## Prometheus Exporter / Metrics
|
||||
##
|
||||
metrics:
|
||||
@@ -349,6 +355,9 @@ metrics:
|
||||
selector:
|
||||
prometheus: kube-prometheus
|
||||
|
||||
## Metrics exporter pod priorityClassName
|
||||
# priorityClassName: {}
|
||||
|
||||
##
|
||||
## Init containers parameters:
|
||||
## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup
|
||||
|
||||
Reference in New Issue
Block a user