mirror of
https://github.com/bitnami/charts.git
synced 2026-03-01 15:07:34 +08:00
Merge pull request #837 from Antiarchitect/master
Add affinity rules setting ability to bitnami/etcd.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: etcd
|
||||
version: 1.1.3
|
||||
version: 1.1.4
|
||||
appVersion: 3.3.9
|
||||
description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
|
||||
keywords:
|
||||
|
||||
@@ -83,6 +83,7 @@ The following tables lists the configurable parameters of the etcd chart and the
|
||||
| `persistence.accessMode` | PVC Access Mode for etcd volume | `ReadWriteOnce` |
|
||||
| `persistence.size` | PVC Storage Request for etcd volume | `8Gi` |
|
||||
| `persistence.annotations` | Annotations for the PVC | `{}` |
|
||||
| `affinity` | Affinity and AntiAffinity rules for pod assignment | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
||||
| `resources` | CPU/Memory resource requests/limits | Memory: `256Mi`, CPU: `250m` |
|
||||
|
||||
@@ -47,6 +47,10 @@ spec:
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
|
||||
Reference in New Issue
Block a user