[stable/memcached] Allow Memcached priorityClassName usage (#17236)

* Added priorityClassName parameter to Statefulset resource and values.yaml

Signed-off-by: pam- <pam.assogba@gmail.com>

* Bumping version

Signed-off-by: pam- <pam.assogba@gmail.com>

* Updated README

Signed-off-by: pam- <pam.assogba@gmail.com>

* Fixing typo

Signed-off-by: pam- <pam.assogba@gmail.com>

* yaml typo

Signed-off-by: pam- <pam.assogba@gmail.com>
This commit is contained in:
Pam Assogba
2019-09-18 14:07:00 -07:00
committed by Kubernetes Prow Robot
parent 78860d0cd5
commit 9968e322f4
4 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: memcached
version: 2.10.0
version: 2.10.1
appVersion: 1.5.12
description: Free & open source, high-performance, distributed memory object caching
system.
+1
View File
@@ -63,6 +63,7 @@ The following table lists the configurable parameters of the Memcached chart and
| `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` |
| `priorityClassName ` | Specifies the pod's priority class name | Un-set |
The above parameters map to `memcached` params. For more information please refer to the [Memcached documentation](https://github.com/memcached/memcached/wiki/ConfiguringServer).
@@ -12,6 +12,9 @@ spec:
serviceName: {{ template "memcached.fullname" . }}
{{- end }}
replicas: {{ .Values.replicaCount }}
{{- if .Values.priorityClassName -}}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
template:
metadata:
labels:
+3
View File
@@ -103,3 +103,6 @@ extraVolumes: |
# To be added to the server pod(s)
podAnnotations: {}
## Set pod priority class
# priorityClassName: ""