Commit 2d5f2e94 authored by Alan Pope's avatar Alan Pope

really fix indents, maybe

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