mirror of
https://github.com/bitnami/charts.git
synced 2026-03-06 15:10:15 +08:00
Add affinity to memcached
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: memcached
|
||||
version: 2.1.5
|
||||
version: 2.1.6
|
||||
appVersion: 1.5.17
|
||||
description: Chart for Memcached
|
||||
keywords:
|
||||
|
||||
@@ -66,6 +66,7 @@ The following tables lists the configurable parameters of the Memcached chart an
|
||||
| `serviceType` | Kubernetes Service type | `ClusterIP` |
|
||||
| `resources` | CPU/Memory resource requests/limits | Memory: `256Mi`, CPU: `250m` |
|
||||
| `clusterDomain` | Kubernetes cluster domain | `cluster.local` |
|
||||
| `affinity` | Map of node/pod affinities | `{}` |
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image.registry` | Memcached exporter image registry | `docker.io` |
|
||||
| `metrics.image.repository` | Memcached exporter image name | `bitnami/memcached-exporter` |
|
||||
|
||||
@@ -85,3 +85,7 @@ spec:
|
||||
resources:
|
||||
{{ toYaml .Values.metrics.resources | indent 10 }}
|
||||
{{- end }}
|
||||
{{- with .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -78,6 +78,11 @@ podAnnotations: {}
|
||||
# Cluster domain
|
||||
clusterDomain: cluster.local
|
||||
|
||||
## Affinity for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Prometheus Exporter / Metrics
|
||||
##
|
||||
metrics:
|
||||
|
||||
@@ -78,6 +78,11 @@ podAnnotations: {}
|
||||
# Cluster domain
|
||||
clusterDomain: cluster.local
|
||||
|
||||
## Affinity for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Prometheus Exporter / Metrics
|
||||
##
|
||||
metrics:
|
||||
|
||||
Reference in New Issue
Block a user