feat: update telegraf to v1.24.0

parent 113cf02e
apiVersion: v1 apiVersion: v1
name: telegraf-ds name: telegraf-ds
version: 1.1.1 version: 1.1.2
appVersion: 1.23.3 appVersion: 1.24.0
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
...@@ -4,9 +4,8 @@ ...@@ -4,9 +4,8 @@
image: image:
repo: "telegraf" repo: "telegraf"
tag: "1.23-alpine" tag: "1.24-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:
...@@ -16,16 +15,12 @@ resources: ...@@ -16,16 +15,12 @@ resources:
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.
...@@ -55,7 +50,6 @@ env: ...@@ -55,7 +50,6 @@ env:
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,11 +83,9 @@ tolerations: [] ...@@ -90,11 +83,9 @@ 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
...@@ -103,14 +94,12 @@ serviceAccount: ...@@ -103,14 +94,12 @@ serviceAccount:
# 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
...@@ -125,7 +114,6 @@ override_config: ...@@ -125,7 +114,6 @@ override_config:
# 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:
......
apiVersion: v2 apiVersion: v2
name: telegraf name: telegraf
version: 1.8.20 version: 1.8.21
appVersion: 1.23.3 appVersion: 1.24.0
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:
......
...@@ -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.23-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.
...@@ -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/
## ##
...@@ -75,7 +62,6 @@ service: ...@@ -75,7 +62,6 @@ 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
...@@ -123,7 +109,6 @@ serviceAccount: ...@@ -123,7 +109,6 @@ serviceAccount:
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/
...@@ -166,7 +151,6 @@ config: ...@@ -166,7 +151,6 @@ config:
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
...@@ -175,7 +159,6 @@ metrics: ...@@ -175,7 +159,6 @@ 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