Commit e20b2554 authored by Sebastian Spaink's avatar Sebastian Spaink

fix: Update indention

parent 39399f77
...@@ -31,15 +31,15 @@ env: ...@@ -31,15 +31,15 @@ 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
...@@ -135,14 +135,14 @@ config: ...@@ -135,14 +135,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"
...@@ -129,28 +129,28 @@ config: ...@@ -129,28 +129,28 @@ 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:
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
......
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