Commit 5b95c160 authored by Alan Pope's avatar Alan Pope

really fix indents, deffo

parent 2d5f2e94
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
## 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.24-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:
...@@ -15,12 +15,16 @@ resources: ...@@ -15,12 +15,16 @@ 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.
...@@ -50,6 +54,7 @@ env: ...@@ -50,6 +54,7 @@ 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
...@@ -64,6 +69,7 @@ env: ...@@ -64,6 +69,7 @@ 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
...@@ -83,6 +89,7 @@ tolerations: [] ...@@ -83,6 +89,7 @@ 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
...@@ -101,6 +108,7 @@ serviceAccount: ...@@ -101,6 +108,7 @@ serviceAccount:
# 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
...@@ -115,6 +123,7 @@ override_config: ...@@ -115,6 +123,7 @@ 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:
......
...@@ -18,7 +18,6 @@ imagePullSecrets: [] ...@@ -18,7 +18,6 @@ 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.
...@@ -52,10 +51,12 @@ resources: {} ...@@ -52,10 +51,12 @@ resources: {}
## 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/
## ##
...@@ -69,6 +70,7 @@ service: ...@@ -69,6 +70,7 @@ 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
...@@ -136,17 +138,17 @@ config: ...@@ -136,17 +138,17 @@ config:
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:
......
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