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
afb6e0ba
Unverified
Commit
afb6e0ba
authored
Feb 09, 2023
by
Yevgeniy Korin
Committed by
GitHub
Feb 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sidecar default resources configurable (#502)
parent
c84d13ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
1 deletion
+12
-1
Chart.yaml
charts/telegraf-operator/Chart.yaml
+1
-1
deployment.yaml
charts/telegraf-operator/templates/deployment.yaml
+4
-0
values.yaml
charts/telegraf-operator/values.yaml
+7
-0
No files found.
charts/telegraf-operator/Chart.yaml
View file @
afb6e0ba
...
@@ -30,7 +30,7 @@ type: application
...
@@ -30,7 +30,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# to the chart and its templates, including the app version.
version
:
1.3.1
0
version
:
1.3.1
1
# This is the version number of the application being deployed. This version number should be
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
# incremented each time you make changes to the application.
...
...
charts/telegraf-operator/templates/deployment.yaml
View file @
afb6e0ba
...
@@ -33,6 +33,10 @@ spec:
...
@@ -33,6 +33,10 @@ spec:
{{
- if eq .Values.requireAnnotationsForSecret true
}}
{{
- if eq .Values.requireAnnotationsForSecret true
}}
-
"
--require-annotations-for-secret"
-
"
--require-annotations-for-secret"
{{
- end
}}
{{
- end
}}
-
"
--telegraf-requests-cpu={{
.Values.sidecarResources.requests.cpu
}}"
-
"
--telegraf-requests-memory={{
.Values.sidecarResources.requests.memory
}}"
-
"
--telegraf-limits-cpu={{
.Values.sidecarResources.limits.cpu
}}"
-
"
--telegraf-limits-memory={{
.Values.sidecarResources.limits.memory
}}"
{{
- if eq .Values.hotReload true
}}
{{
- if eq .Values.hotReload true
}}
-
"
--telegraf-watch-config=inotify"
-
"
--telegraf-watch-config=inotify"
{{
- end
}}
{{
- end
}}
...
...
charts/telegraf-operator/values.yaml
View file @
afb6e0ba
...
@@ -42,6 +42,13 @@ resources:
...
@@ -42,6 +42,13 @@ resources:
requests
:
requests
:
cpu
:
50m
cpu
:
50m
memory
:
64Mi
memory
:
64Mi
sidecarResources
:
limits
:
cpu
:
200m
memory
:
200Mi
requests
:
cpu
:
10m
memory
:
10Mi
nodeSelector
:
{}
nodeSelector
:
{}
tolerations
:
[]
tolerations
:
[]
affinity
:
{}
affinity
:
{}
...
...
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