mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Add updateStrategy parameter for redis StatefulSet. (#6121)
* Add updateStrategy parameter for redis StatefulSet. * Add partition update strategy parameter for redis StatefulSet. * Bugfix. * Bugfix.
This commit is contained in:
committed by
k8s-ci-robot
parent
dabdba3b28
commit
4ce2986e39
@@ -1,5 +1,5 @@
|
||||
name: redis
|
||||
version: 3.4.1
|
||||
version: 3.4.2
|
||||
appVersion: 4.0.10
|
||||
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:
|
||||
|
||||
@@ -86,6 +86,8 @@ The following table lists the configurable parameters of the Redis chart and the
|
||||
| `master.persistence.storageClass` | Storage class of backing PVC | `generic` |
|
||||
| `master.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `master.persistence.size` | Size of data volume | `8Gi` |
|
||||
| `master.statefulset.updateStrategy` | Update strategy for StatefulSet | onDelete |
|
||||
| `master.statefulset.rollingUpdatePartition`| Partition update strategy | `nil` |
|
||||
| `master.podLabels` | Additional labels for Redis master pod | {} |
|
||||
| `master.podAnnotations` | Additional annotations for Redis master pod | {} |
|
||||
| `master.port` | Redis master port | 6379 |
|
||||
|
||||
@@ -154,3 +154,9 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
updateStrategy:
|
||||
type: {{ .Values.master.statefulset.updateStrategy }}
|
||||
{{- if .Values.master.statefulset.rollingUpdatePartition }}
|
||||
rollingUpdate:
|
||||
partition: {{ .Values.master.statefulset.rollingUpdatePartition }}
|
||||
{{- end }}
|
||||
|
||||
@@ -175,6 +175,13 @@ master:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
## Update strategy, can be set to RollingUpdate or onDelete by default.
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
statefulset:
|
||||
updateStrategy: OnDelete
|
||||
## Partition update strategy
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
# rollingUpdatePartition:
|
||||
|
||||
##
|
||||
## Redis Slave properties
|
||||
|
||||
@@ -217,6 +217,14 @@ master:
|
||||
- ReadWriteOnce
|
||||
size: 8Gi
|
||||
|
||||
## Update strategy, can be set to RollingUpdate or onDelete by default.
|
||||
## https://kubernetes.io/docs/tutorials/stateful-application/basic-stateful-set/#updating-statefulsets
|
||||
statefulset:
|
||||
updateStrategy: OnDelete
|
||||
## Partition update strategy
|
||||
## https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#partitions
|
||||
# rollingUpdatePartition:
|
||||
|
||||
|
||||
##
|
||||
## Redis Slave properties
|
||||
|
||||
Reference in New Issue
Block a user