[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:
Remington Reackhof
2019-09-09 09:47:20 -07:00
committed by Kubernetes Prow Robot
parent 72e4abed62
commit ebc4f8568c
4 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -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.
+1
View File
@@ -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 }}
+6
View File
@@ -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/
##