Commit 39399f77 authored by Sven Rebhan's avatar Sven Rebhan

chore: update Telegraf versions for v1.23.1

parent c81addcc
apiVersion: v1 apiVersion: v1
name: telegraf-ds name: telegraf-ds
version: 1.1.0 version: 1.1.1
appVersion: 1.22.1 appVersion: 1.23.1
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.
keywords: keywords:
- telegraf - telegraf
- collector - collector
- timeseries - timeseries
- 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
- name: gitirabassi - name: gitirabassi
email: giacomo@influxdata.com email: giacomo@influxdata.com
- name: nsteinmetz - name: nsteinmetz
email: contact@cerenit.fr email: contact@cerenit.fr
engine: gotpl engine: gotpl
...@@ -3,29 +3,24 @@ ...@@ -3,29 +3,24 @@
## ref: https://hub.docker.com/r/library/telegraf/tags/ ## ref: https://hub.docker.com/r/library/telegraf/tags/
image: image:
repo: "telegraf" repo: "telegraf"
tag: "1.22-alpine" tag: "1.23-alpine"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
## Configure resource requests and limits ## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
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
podAnnotations: {} podAnnotations: {}
## Pod labels ## Pod labels
podLabels: {} podLabels: {}
## 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.
...@@ -33,29 +28,28 @@ args: [] ...@@ -33,29 +28,28 @@ 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:
# - name: telegraf-output-influxdb2 # - name: telegraf-output-influxdb2
...@@ -70,7 +64,6 @@ env: ...@@ -70,7 +64,6 @@ env:
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
## ##
tolerations: [] tolerations: []
## If the DaemonSet should run on the host's network namespace ## If the DaemonSet should run on the host's network namespace
## hostNetwork: true ## hostNetwork: true
...@@ -90,71 +83,66 @@ tolerations: [] ...@@ -90,71 +83,66 @@ tolerations: []
## - name: ndots ## - name: ndots
## value: "2" ## value: "2"
## - name: edns0 ## - name: edns0
rbac: rbac:
# Specifies whether RBAC resources should be created # Specifies whether RBAC resources should be created
create: true create: true
serviceAccount: serviceAccount:
# Specifies whether a ServiceAccount should be created # 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/
# priorityClassName: system-node-critical # priorityClassName: system-node-critical
# 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]
# foo = "bar" # foo = "bar"
# [agent] # [agent]
# interval = "10s" # interval = "10s"
# [[inputs.mem]] # [[inputs.mem]]
# [[outputs.influxdb_v2]] # [[outputs.influxdb_v2]]
# urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"] # urls = ["https://us-west-2-1.aws.cloud2.influxdata.com"]
# bucket = "data" # bucket = "data"
# organization = "OurCompany" # organization = "OurCompany"
# token = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" # token = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
## 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
metric_batch_size: 1000 metric_batch_size: 1000
metric_buffer_limit: 10000 metric_buffer_limit: 10000
collection_jitter: "0s" collection_jitter: "0s"
flush_interval: "10s" flush_interval: "10s"
flush_jitter: "0s" flush_jitter: "0s"
precision: "" precision: ""
debug: false debug: false
quiet: false quiet: false
logfile: "" logfile: ""
hostname: "$HOSTNAME" hostname: "$HOSTNAME"
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"
apiVersion: v2 apiVersion: v2
name: telegraf name: telegraf
version: 1.8.18 version: 1.8.19
appVersion: 1.22.0 appVersion: 1.23.1
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.
keywords: keywords:
- telegraf - telegraf
- collector - collector
- timeseries - timeseries
- influxdata - influxdata
- influxdb - influxdb
- agent - agent
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/tree/master/charts/telegraf - https://github.com/influxdata/helm-charts/tree/master/charts/telegraf
- https://github.com/influxdata/helm-charts/ - https://github.com/influxdata/helm-charts/
maintainers: maintainers:
- name: rawkode - name: rawkode
email: rawkode@influxdata.com email: rawkode@influxdata.com
- name: gitirabassi - name: gitirabassi
email: giacomo@influxdata.com email: giacomo@influxdata.com
icon: https://avatars0.githubusercontent.com/u/5713248?s=200&v=4 icon: https://avatars0.githubusercontent.com/u/5713248?s=200&v=4
...@@ -3,33 +3,23 @@ ...@@ -3,33 +3,23 @@
## 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.22-alpine" tag: "1.23-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.
...@@ -42,26 +32,23 @@ env: ...@@ -42,26 +32,23 @@ env:
# mountPath: /etc/telegraf/conf.d # mountPath: /etc/telegraf/conf.d
# subPath: influxdb2.conf # subPath: influxdb2.conf
## Configure resource requests and limits ## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/ ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources: {} resources: {}
# requests: # requests:
# memory: 128Mi # memory: 128Mi
# cpu: 100m # cpu: 100m
# limits: # limits:
# memory: 128Mi # memory: 128Mi
# cpu: 100m # cpu: 100m
## Node labels for pod assignment ## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/ ## ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {} nodeSelector: {}
## Affinity for pod assignment ## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
## ##
affinity: {} affinity: {}
## Tolerations for pod assignment ## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
## ##
...@@ -72,17 +59,16 @@ tolerations: [] ...@@ -72,17 +59,16 @@ tolerations: []
# effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)" # effect: "NoSchedule|PreferNoSchedule|NoExecute(1.6 only)"
service: service:
enabled: true enabled: true
type: ClusterIP type: ClusterIP
annotations: {} annotations: {}
rbac: rbac:
# Specifies whether RBAC resources should be created # Specifies whether RBAC resources should be created
create: true create: true
# Create only for the release namespace or cluster wide (Role vs ClusterRole) # Create only for the release namespace or cluster wide (Role vs ClusterRole)
clusterWide: false clusterWide: false
# Rules for the created rule # Rules for the created rule
rules: [] rules: []
# When using the prometheus input to scrape all pods you need extra rules set to the ClusterRole to be # When using the prometheus input to scrape all pods you need extra rules set to the ClusterRole to be
# able to scan the pods for scraping labels. The following rules have been taken from: # able to scan the pods for scraping labels. The following rules have been taken from:
# https://github.com/helm/charts/blob/master/stable/prometheus/templates/server-clusterrole.yaml#L8-L46 # https://github.com/helm/charts/blob/master/stable/prometheus/templates/server-clusterrole.yaml#L8-L46
...@@ -116,66 +102,63 @@ rbac: ...@@ -116,66 +102,63 @@ rbac:
# - get # - get
serviceAccount: serviceAccount:
# Specifies whether a ServiceAccount should be created # 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: {}
## Exposed telegraf configuration ## Exposed telegraf configuration
## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml` ## For full list of possible values see `/docs/all-config-values.yaml` and `/docs/all-config-values.toml`
## ref: https://docs.influxdata.com/telegraf/v1.1/administration/configuration/ ## ref: https://docs.influxdata.com/telegraf/v1.1/administration/configuration/
config: config:
agent: agent:
interval: "10s" interval: "10s"
round_interval: true round_interval: true
metric_batch_size: 1000 metric_batch_size: 1000
metric_buffer_limit: 10000 metric_buffer_limit: 10000
collection_jitter: "0s" collection_jitter: "0s"
flush_interval: "10s" flush_interval: "10s"
flush_jitter: "0s" flush_jitter: "0s"
precision: "" precision: ""
debug: false debug: false
quiet: false quiet: false
logfile: "" logfile: ""
hostname: "$HOSTNAME" hostname: "$HOSTNAME"
omit_hostname: false omit_hostname: false
processors: processors:
- enum: - enum:
mapping: mapping:
field: "status" field: "status"
dest: "status_code" dest: "status_code"
value_mappings: value_mappings:
healthy: 1 healthy: 1
problem: 2 problem: 2
critical: 3 critical: 3
outputs: outputs:
- 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
service_address: "http://:8888" service_address: "http://:8888"
threshold: 5000.0 threshold: 5000.0
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"]
...@@ -184,8 +167,8 @@ metrics: ...@@ -184,8 +167,8 @@ metrics:
## Pod disruption budget configuration ## Pod disruption budget configuration
## ##
pdb: pdb:
## Specifies whether a Pod disruption budget should be created ## Specifies whether a Pod disruption budget should be created
## ##
create: true create: true
minAvailable: 1 minAvailable: 1
# maxUnavailable: 1 # maxUnavailable: 1
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