mirror of
https://github.com/helm/charts.git
synced 2026-08-22 22:07:36 +00:00
* Add ability to specify arbitrary custom labels in memcached helm chart Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com> * Update casing to be consistant across all values file references, add readme reference to new parameter Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com> * Fix circleci lint error "missing starting space in comment (comments)" Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com> * Bump minor version; Change the way yaml is templated into statefulset Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com> * change parameter name from customLabels to podLabels Signed-off-by: orkhanm <orkhan.mamedov.7@gmail.com>
87 lines
2.2 KiB
YAML
87 lines
2.2 KiB
YAML
## Memcached image and tag
|
|
## ref: https://hub.docker.com/r/library/memcached/tags/
|
|
##
|
|
image: memcached:1.5.12-alpine
|
|
|
|
## Specify a imagePullPolicy
|
|
## 'Always' if imageTag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
# imagePullPolicy:
|
|
#
|
|
|
|
## Replica count
|
|
replicaCount: 3
|
|
|
|
## Pod disruption budget minAvailable count
|
|
## Ensure this value is lower than replicaCount in order to allow a worker
|
|
## node to drain successfully
|
|
pdbMinAvailable: 2
|
|
|
|
## Select AntiAffinity as either hard or soft, default is hard
|
|
AntiAffinity: "hard"
|
|
|
|
memcached:
|
|
## Various values that get set as command-line flags.
|
|
## ref: https://github.com/memcached/memcached/wiki/ConfiguringServer#commandline-arguments
|
|
##
|
|
maxItemMemory: 64
|
|
verbosity: v
|
|
extendedOptions: modern
|
|
|
|
## Define various attributes of the service
|
|
serviceAnnotations: {}
|
|
# prometheus.io/scrape: "true"
|
|
|
|
## StatefulSet or Deployment
|
|
kind: StatefulSet
|
|
|
|
## Configure resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources:
|
|
requests:
|
|
memory: 64Mi
|
|
cpu: 50m
|
|
|
|
## Key:value pair for assigning pod to specific sets of nodes
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
|
nodeSelector: {}
|
|
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
|
tolerations: {}
|
|
|
|
## Advanced scheduling controls
|
|
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
|
affinity: {}
|
|
|
|
metrics:
|
|
## Expose memcached metrics in Prometheus format
|
|
enabled: false
|
|
|
|
## Memcached exporter image and tag
|
|
image: quay.io/prometheus/memcached-exporter:v0.4.1
|
|
|
|
## Specify a imagePullPolicy
|
|
## 'Always' if imageTag is 'latest', else set to 'IfNotPresent'
|
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
|
##
|
|
# imagePullPolicy: IfNotPresent
|
|
|
|
## Configure resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources: {}
|
|
|
|
extraContainers: |
|
|
|
|
extraVolumes: |
|
|
|
|
## Custom metadata labels to be applied to statefulset and pods
|
|
# podLabels:
|
|
# foo: "bar"
|
|
# bar: "foo"
|
|
|
|
# To be added to the server pod(s)
|
|
podAnnotations: {}
|