Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
influxdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
influxdb
Commits
76c30533
Commit
76c30533
authored
Jan 02, 2019
by
azhelev
Committed by
Kubernetes Prow Robot
Jan 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[stable/influxdb] Add support for pod affinities and tolerations (#9457)
Signed-off-by:
Atanas Zhelev
<
azhelev+github@mailbox.org
>
parent
ae24f67a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletion
+23
-1
Chart.yaml
stable/influxdb/Chart.yaml
+1
-1
deployment.yaml
stable/influxdb/templates/deployment.yaml
+8
-0
values.yaml
stable/influxdb/values.yaml
+14
-0
No files found.
stable/influxdb/Chart.yaml
View file @
76c30533
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
:
...
...
stable/influxdb/templates/deployment.yaml
View file @
76c30533
...
@@ -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
}}
stable/influxdb/values.yaml
View file @
76c30533
...
@@ -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/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment