mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/memcached] Add updateStrategy configuration option (#16358)
* [stable/memcached] Add updateStrategy configuration option Signed-off-by: Remington Reackhof <rreackhof@rmn.com> * [stable/memcached] Set specific keys for updateStrategy to follow convention Signed-off-by: Remington Reackhof <rreackhof@rmn.com> * [stable/memcached] Fix README to reflect updateStrategy.type value requirement Signed-off-by: Remington Reackhof <rreackhof@rmn.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
72e4abed62
commit
ebc4f8568c
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: memcached
|
||||
version: 2.9.0
|
||||
version: 2.10.0
|
||||
appVersion: 1.5.12
|
||||
description: Free & open source, high-performance, distributed memory object caching
|
||||
system.
|
||||
|
||||
@@ -62,6 +62,7 @@ The following table lists the configurable parameters of the Memcached chart and
|
||||
| `securityContext.enabled` | Enable security context | `true` |
|
||||
| `securityContext.fsGroup` | Group ID for the container | `1001` |
|
||||
| `securityContext.runAsUser`| User ID for the container | `1001` |
|
||||
| `updateStrategy.type` | Update strategy for the StatefulSet/Deployment | `RollingUpdate` |
|
||||
|
||||
The above parameters map to `memcached` params. For more information please refer to the [Memcached documentation](https://github.com/memcached/memcached/wiki/ConfiguringServer).
|
||||
|
||||
|
||||
@@ -119,3 +119,8 @@ spec:
|
||||
affinity:
|
||||
{{ toYaml . | trim | indent 8}}
|
||||
{{- end }}
|
||||
updateStrategy:
|
||||
type: {{ .Values.updateStrategy.type }}
|
||||
{{- if (eq "Recreate" .Values.updateStrategy.type) }}
|
||||
rollingUpdate: null
|
||||
{{- end }}
|
||||
|
||||
@@ -42,6 +42,12 @@ serviceAnnotations: {}
|
||||
## StatefulSet or Deployment
|
||||
kind: StatefulSet
|
||||
|
||||
## Update Strategy for the StatefulSet or Deployment
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment
|
||||
updateStrategy:
|
||||
type: RollingUpdate
|
||||
|
||||
## Configure resource requests and limits
|
||||
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user