mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/influxdb] Add support for pod affinities and tolerations (#9457)
Signed-off-by: Atanas Zhelev <azhelev+github@mailbox.org>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
abcae04627
commit
c5c84335d7
@@ -1,5 +1,5 @@
|
||||
name: influxdb
|
||||
version: 1.0.0
|
||||
version: 1.1.0
|
||||
appVersion: 1.7
|
||||
description: Scalable datastore for metrics, events, and real-time analytics.
|
||||
keywords:
|
||||
|
||||
@@ -88,3 +88,11 @@ spec:
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{- end -}}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml .Values.tolerations | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -105,6 +105,20 @@ ingress:
|
||||
##
|
||||
nodeSelector: {}
|
||||
|
||||
## Affinity for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Tolerations for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
|
||||
##
|
||||
tolerations: []
|
||||
# - key: "key"
|
||||
# operator: "Equal|Exists"
|
||||
# value: "value"
|
||||
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
|
||||
|
||||
## The InfluxDB image uses several environment variables to automatically
|
||||
## configure certain parts of the server.
|
||||
## Ref: https://hub.docker.com/_/influxdb/
|
||||
|
||||
Reference in New Issue
Block a user