Skip to content

Commit

Permalink
chore: update Telegraf versions for v1.24.1 (influxdata#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj committed Sep 26, 2022
1 parent 23a99f4 commit 9ab2e60
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 51 deletions.
24 changes: 12 additions & 12 deletions charts/telegraf-ds/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
apiVersion: v1
name: telegraf-ds
version: 1.1.2
appVersion: 1.23.3
version: 1.1.3
appVersion: 1.24.1
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
keywords:
- telegraf
- collector
- timeseries
- influxdata
- telegraf
- collector
- timeseries
- influxdata
home: https://www.influxdata.com/time-series-platform/telegraf/
sources:
- https://github.com/influxdata/helm-charts/charts/telegraf-ds
maintainers:
- name: rawkode
email: [email protected]
- name: gitirabassi
email: [email protected]
- name: nsteinmetz
email: [email protected]
- name: rawkode
email: [email protected]
- name: gitirabassi
email: [email protected]
- name: nsteinmetz
email: [email protected]
engine: gotpl
14 changes: 1 addition & 13 deletions charts/telegraf-ds/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@

image:
repo: "telegraf"
tag: "1.23-alpine"
tag: "1.24-alpine"
pullPolicy: IfNotPresent

## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources:
Expand All @@ -16,16 +15,12 @@ resources:
limits:
memory: 2Gi
cpu: 1

## Pod annotations
podAnnotations: {}

## Pod labels
podLabels: {}

## 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.
Expand Down Expand Up @@ -55,7 +50,6 @@ env:
value: "/hostfs/sys"
- name: "HOST_MOUNT_PREFIX"
value: "/hostfs"

## Add custom volumes and mounts
# volumes:
# - name: telegraf-output-influxdb2
Expand All @@ -70,7 +64,6 @@ env:
## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
tolerations: []

## If the DaemonSet should run on the host's network namespace
## hostNetwork: true

Expand All @@ -90,11 +83,9 @@ tolerations: []
## - name: ndots
## value: "2"
## - name: edns0

rbac:
# Specifies whether RBAC resources should be created
create: true

serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true
Expand All @@ -103,14 +94,12 @@ serviceAccount:
# name:
# Annotations for the ServiceAccount
annotations: {}

## Specify priorityClassName
## Ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
# priorityClassName: system-node-critical

# Specify the pod's SecurityContext, including the OS user and group to run the pod
podSecurityContext: {}

override_config:
toml: ~
# Provide a literal TOML config
Expand All @@ -125,7 +114,6 @@ override_config:
# bucket = "data"
# organization = "OurCompany"
# token = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"

## Exposed telegraf configuration
## ref: https://docs.influxdata.com/telegraf/v1.13/administration/configuration/
config:
Expand Down
4 changes: 2 additions & 2 deletions charts/telegraf/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: telegraf
version: 1.8.20
appVersion: 1.23.3
version: 1.8.21
appVersion: 1.24.1
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/telegraf/ci/complex-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ config:
measurement: "_/_/measurement/_"
types:
test: "int"
data_format: "json_v2"
json_v2:
- measurement_name: ""
timestamp_path: ""
Expand Down
31 changes: 7 additions & 24 deletions charts/telegraf/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,23 @@
## ref: https://hub.docker.com/r/library/telegraf/tags/

replicaCount: 1

image:
repo: "telegraf"
tag: "1.23-alpine"
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"

# An older "volumeMounts" key was previously added which will likely
# NOT WORK as you expect. Please use this newer configuration.

Expand All @@ -42,26 +32,23 @@ env:
# mountPath: /etc/telegraf/conf.d
# subPath: influxdb2.conf


## Configure resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources: {}
# requests:
# memory: 128Mi
# cpu: 100m
# limits:
# memory: 128Mi
# cpu: 100m
# requests:
# memory: 128Mi
# cpu: 100m
# limits:
# memory: 128Mi
# cpu: 100m

## Node labels for pod assignment
## ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}

## Affinity for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
##
affinity: {}

## Tolerations for pod assignment
## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
##
Expand All @@ -75,7 +62,6 @@ service:
enabled: true
type: ClusterIP
annotations: {}

rbac:
# Specifies whether RBAC resources should be created
create: true
Expand Down Expand Up @@ -123,7 +109,6 @@ serviceAccount:
name:
# Annotations for the ServiceAccount
annotations: {}

## Exposed telegraf configuration
## 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/
Expand Down Expand Up @@ -166,7 +151,6 @@ config:
metric_separator: "_"
allowed_pending_messages: 10000
percentile_limit: 1000

metrics:
health:
enabled: false
Expand All @@ -175,7 +159,6 @@ metrics:
internal:
enabled: true
collect_memstats: false

# Lifecycle hooks
# hooks:
# postStart: ["/bin/sh", "-c", "echo Telegraf started"]
Expand Down

0 comments on commit 9ab2e60

Please sign in to comment.