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
bf79f8f9
Unverified
Commit
bf79f8f9
authored
Oct 23, 2023
by
Osvald Ivarsson
Committed by
GitHub
Oct 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Add updateStrategy to Telegraf Deployment. (#515)
parent
88286a5d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
Chart.yaml
charts/telegraf/Chart.yaml
+1
-1
deployment.yaml
charts/telegraf/templates/deployment.yaml
+4
-0
values.yaml
charts/telegraf/values.yaml
+8
-0
No files found.
charts/telegraf/Chart.yaml
View file @
bf79f8f9
apiVersion
:
v2
apiVersion
:
v2
name
:
telegraf
name
:
telegraf
version
:
1.8.3
5
version
:
1.8.3
6
appVersion
:
1.28.2
appVersion
:
1.28.2
deprecated
:
false
deprecated
:
false
description
:
Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
description
:
Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
...
...
charts/telegraf/templates/deployment.yaml
View file @
bf79f8f9
...
@@ -10,6 +10,10 @@ spec:
...
@@ -10,6 +10,10 @@ spec:
matchLabels
:
matchLabels
:
app.kubernetes.io/name
:
{{
include "telegraf.name" .
}}
app.kubernetes.io/name
:
{{
include "telegraf.name" .
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
app.kubernetes.io/instance
:
{{
.Release.Name
}}
{{
- with .Values.updateStrategy
}}
strategy
:
{{
- toYaml . | nindent 4
}}
{{
- end
}}
template
:
template
:
metadata
:
metadata
:
labels
:
labels
:
...
...
charts/telegraf/values.yaml
View file @
bf79f8f9
...
@@ -58,6 +58,14 @@ tolerations: []
...
@@ -58,6 +58,14 @@ tolerations: []
# value: "value"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
## Configure the updateStrategy used to replace Telegraf Pods
## See https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/deployment-v1/
updateStrategy
:
{}
# type: RollingUpdate|Recreate
# rollingUpdate:
# maxUnavailable: 1
# maxSurge: 1
service
:
service
:
enabled
:
true
enabled
:
true
type
:
ClusterIP
type
:
ClusterIP
...
...
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