Commit 76c30533 authored by azhelev's avatar azhelev Committed by Kubernetes Prow Robot

[stable/influxdb] Add support for pod affinities and tolerations (#9457)

parent ae24f67a
name: influxdb name: influxdb
version: 1.0.0 version: 1.1.0
appVersion: 1.7 appVersion: 1.7
description: Scalable datastore for metrics, events, and real-time analytics. description: Scalable datastore for metrics, events, and real-time analytics.
keywords: keywords:
......
...@@ -88,3 +88,11 @@ spec: ...@@ -88,3 +88,11 @@ spec:
nodeSelector: nodeSelector:
{{ toYaml .Values.nodeSelector | indent 8 }} {{ toYaml .Values.nodeSelector | indent 8 }}
{{- end -}} {{- 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: ...@@ -105,6 +105,20 @@ ingress:
## ##
nodeSelector: {} 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 ## The InfluxDB image uses several environment variables to automatically
## configure certain parts of the server. ## configure certain parts of the server.
## Ref: https://hub.docker.com/_/influxdb/ ## Ref: https://hub.docker.com/_/influxdb/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment