mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 17:27:20 +08:00
[bitnami/redis-cluster] Add priorityClassName to initJob and updateJob (#4519)
* [bitnami/redis-cluster] Add priorityClassName to initJob and updateJob * [bitnami/redis-cluster] missing starting space in comment * Apply suggestions from code review Set `priorityClassName` to `nil` instead of commented in the values files Co-authored-by: Andrés Bono <andresbonojimenez@gmail.com> Co-authored-by: Andrés Bono <andresbonojimenez@gmail.com>
This commit is contained in:
@@ -23,4 +23,4 @@ name: redis-cluster
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-redis
|
||||
- http://redis.io/
|
||||
version: 4.0.3
|
||||
version: 4.1.0
|
||||
|
||||
@@ -204,6 +204,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `initJob.tolerations` | Toleration labels for Redis pod assignment | [] |
|
||||
| `initJob.resources` | Redis CPU/Memory resource requests/limits | `nil` |
|
||||
| `initJob.affinity` | Affinity settings for | {} |
|
||||
| `initJob.priorityClassName` | Priority class name | `nil` |
|
||||
|
||||
#### Cluster update job parameters
|
||||
| Parameter | Description | Default |
|
||||
@@ -224,6 +225,7 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `updateJob.tolerations` | Toleration labels for Redis pod assignment | [] |
|
||||
| `updateJob.resources` | Redis CPU/Memory resource requests/limits | `nil` |
|
||||
| `updateJob.affinity` | Affinity settings for | {} |
|
||||
| `updateJob.priorityClassName` | Priority class name | `nil` |
|
||||
|
||||
#### Cluster management parameters
|
||||
|
||||
|
||||
@@ -44,6 +44,9 @@ spec:
|
||||
{{- if .Values.initJob.tolerations }}
|
||||
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.initJob.tolerations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.initJob.priorityClassName }}
|
||||
priorityClassName: {{ .Values.initJob.priorityClassName }}
|
||||
{{- end }}
|
||||
{{- if .Values.podSecurityContext.enabled }}
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.podSecurityContext.fsGroup }}
|
||||
|
||||
@@ -44,6 +44,9 @@ spec:
|
||||
{{- if .Values.updateJob.tolerations }}
|
||||
tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.updateJob.tolerations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.updateJob.priorityClassName }}
|
||||
priorityClassName: {{ .Values.updateJob.priorityClassName }}
|
||||
{{- end }}
|
||||
{{- if .Values.podSecurityContext.enabled }}
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.podSecurityContext.fsGroup }}
|
||||
|
||||
@@ -280,6 +280,11 @@ initJob:
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Priority class name
|
||||
##
|
||||
priorityClassName:
|
||||
|
||||
## Container resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -365,6 +370,11 @@ updateJob:
|
||||
## Redis pod/node affinity/anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Priority class name
|
||||
##
|
||||
priorityClassName:
|
||||
|
||||
## Container resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
|
||||
@@ -280,6 +280,11 @@ initJob:
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Priority class name
|
||||
##
|
||||
priorityClassName:
|
||||
|
||||
## Container resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
@@ -365,6 +370,11 @@ updateJob:
|
||||
## Redis pod/node affinity/anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Priority class name
|
||||
##
|
||||
priorityClassName:
|
||||
|
||||
## Container resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user