mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* Make memcached a statefulset, add anti-affinity and podDisruptionBudget * Address review comments * Make the chart 1.0.0, as deploment to SS is a breaking change * Convert anti-affinity a proper yaml format
30 lines
709 B
YAML
30 lines
709 B
YAML
## Memcached image and tag
|
|
## ref: https://hub.docker.com/r/library/memcached/tags/
|
|
##
|
|
image: memcached:1.4.36-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
|
|
|
|
memcached:
|
|
## Various values that get set as command-line flags.
|
|
## ref: https://github.com/memcached/memcached/wiki/ConfiguringServer#commandline-arguments
|
|
##
|
|
maxItemMemory: 64
|
|
verbosity: v
|
|
|
|
## Configure resource requests and limits
|
|
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
|
|
##
|
|
resources:
|
|
requests:
|
|
memory: 64Mi
|
|
cpu: 50m
|