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
2d5f2e94
Commit
2d5f2e94
authored
Sep 14, 2022
by
Alan Pope
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
really fix indents, maybe
parent
32ac35ba
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
64 additions
and
54 deletions
+64
-54
Chart.yaml
charts/telegraf-ds/Chart.yaml
+1
-1
values.yaml
charts/telegraf-ds/values.yaml
+42
-41
values.yaml
charts/telegraf/values.yaml
+21
-12
No files found.
charts/telegraf-ds/Chart.yaml
View file @
2d5f2e94
...
...
@@ -11,7 +11,7 @@ keywords:
-
influxdata
home
:
https://www.influxdata.com/time-series-platform/telegraf/
sources
:
-
https://github.com/influxdata/helm-charts/charts/telegraf-ds
-
https://github.com/influxdata/helm-charts/charts/telegraf-ds
maintainers
:
-
name
:
rawkode
email
:
rawkode@influxdata.com
...
...
charts/telegraf-ds/values.yaml
View file @
2d5f2e94
...
...
@@ -11,8 +11,8 @@ pullPolicy: IfNotPresent
resources
:
requests
:
memory
:
256Mi
cpu
:
0.1
limits
:
cpu
:
0.1
limits
:
memory
:
2Gi
cpu
:
1
## Pod annotations
...
...
@@ -28,27 +28,27 @@ args: []
## Environment
env
:
# This pulls HOSTNAME from the node, not the pod.
-
name
:
HOSTNAME
valueFrom
:
fieldRef
:
fieldPath
:
spec.nodeName
# In test clusters where hostnames are resolved in /etc/hosts on each node,
# the HOSTNAME is not resolvable from inside containers
# So inject the host IP as well
-
name
:
HOSTIP
valueFrom
:
fieldRef
:
fieldPath
:
status.hostIP
# Mount the host filesystem and set the appropriate env variables.
# ref: https://github.com/influxdata/telegraf/blob/master/docs/FAQ.md
# HOST_PROC is required by the cpu, disk, diskio, kernel and processes input plugins
-
name
:
"
HOST_PROC"
# This pulls HOSTNAME from the node, not the pod.
-
name
:
HOSTNAME
valueFrom
:
fieldRef
:
fieldPath
:
spec.nodeName
# In test clusters where hostnames are resolved in /etc/hosts on each node,
# the HOSTNAME is not resolvable from inside containers
# So inject the host IP as well
-
name
:
HOSTIP
valueFrom
:
fieldRef
:
fieldPath
:
status.hostIP
# Mount the host filesystem and set the appropriate env variables.
# ref: https://github.com/influxdata/telegraf/blob/master/docs/FAQ.md
# HOST_PROC is required by the cpu, disk, diskio, kernel and processes input plugins
-
name
:
"
HOST_PROC"
value
:
"
/hostfs/proc"
# HOST_SYS is required by the diskio plugin
-
name
:
"
HOST_SYS"
# HOST_SYS is required by the diskio plugin
-
name
:
"
HOST_SYS"
value
:
"
/hostfs/sys"
-
name
:
"
HOST_MOUNT_PREFIX"
-
name
:
"
HOST_MOUNT_PREFIX"
value
:
"
/hostfs"
## Add custom volumes and mounts
# volumes:
...
...
@@ -86,13 +86,14 @@ tolerations: []
rbac
:
# Specifies whether RBAC resources should be created
create
:
true
serviceAccount
:
# Specifies whether a ServiceAccount should be created
serviceAccount
:
# Specifies whether a ServiceAccount should be created
create
:
true
# The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
# name:
# Annotations for the ServiceAccount
# The name of the ServiceAccount to use.
# If not set and create is true, a name is generated using the fullname template
# name:
# Annotations for the ServiceAccount
annotations
:
{}
## Specify priorityClassName
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
...
...
@@ -101,7 +102,7 @@ rbac:
# Specify the pod's SecurityContext, including the OS user and group to run the pod
podSecurityContext
:
{}
override_config
:
toml
:
~
toml
:
~
# Provide a literal TOML config
# toml: |+
# [global_tags]
...
...
@@ -117,8 +118,8 @@ toml: ~
## Exposed telegraf configuration
## ref: https://docs.influxdata.com/telegraf/v1.13/administration/configuration/
config
:
#
global_tags:
#
cluster: "mycluster"
# global_tags:
# cluster: "mycluster"
agent
:
interval
:
"
10s"
round_interval
:
true
...
...
@@ -135,14 +136,14 @@ config:
omit_hostname
:
false
outputs
:
-
influxdb
:
urls:
- "http://influxdb.monitoring.svc:8086"
database: "telegraf"
retention_policy: ""
timeout: "5s"
username: ""
password: ""
user_agent: "telegraf"
insecure_skip_verify: false
m
onitor_self: false
d
ocker_endpoint: "unix:///var/run/docker.sock"
urls
:
-
"
http://influxdb.monitoring.svc:8086"
database
:
"
telegraf"
retention_policy
:
"
"
timeout
:
"
5s"
username
:
"
"
password
:
"
"
user_agent
:
"
telegraf"
insecure_skip_verify
:
false
monitor_self
:
false
docker_endpoint
:
"
unix:///var/run/docker.sock"
charts/telegraf/values.yaml
View file @
2d5f2e94
...
...
@@ -3,23 +3,30 @@
## ref: https://hub.docker.com/r/library/telegraf/tags/
replicaCount
:
1
image
:
repo
:
"
telegraf"
tag
:
"
1.24-alpine"
pullPolicy
:
IfNotPresent
podAnnotations
:
{}
podLabels
:
{}
imagePullSecrets
:
[]
## Configure args passed to Telegraf containers
args
:
[]
# The name of a secret in the same kubernetes namespace which contains values to
# be added to the environment (must be manually created)
# This can be useful for auth tokens, etc.
# envFromSecret: "telegraf-tokens"
env
:
-
name
:
HOSTNAME
value
:
"
telegraf-polling-service"
env
:
-
name
:
HOSTNAME
value
:
"
telegraf-polling-service"
# An older "volumeMounts" key was previously added which will likely
# NOT WORK as you expect. Please use this newer configuration.
...
...
@@ -140,17 +147,18 @@ config:
-
influxdb
:
urls
:
-
"
http://influxdb.monitoring.svc:8086"
database
:
"
telegraf"
database
:
"
telegraf"
inputs
:
-
statsd
:
service_address
:
"
:8125"
percentiles
:
-
50
-
95
-
99
metric_separator
:
"
_"
allowed_pending_messages
:
10000
percentile_limit
:
1000
service_address
:
"
:8125"
percentiles
:
-
50
-
95
-
99
metric_separator
:
"
_"
allowed_pending_messages
:
10000
percentile_limit
:
1000
metrics
:
health
:
enabled
:
false
...
...
@@ -159,6 +167,7 @@ metrics:
internal
:
enabled
:
true
collect_memstats
:
false
# Lifecycle hooks
# hooks:
# postStart: ["/bin/sh", "-c", "echo Telegraf started"]
...
...
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