Commit 3a18b19d authored by Nicolas Steinmetz's avatar Nicolas Steinmetz Committed by David McKay

Add internal plugin and related doc for livenessProbe/readinessProbe and health…

Add internal plugin and related doc for livenessProbe/readinessProbe and health service to work as expected
parent 89d38f67
apiVersion: v1
name: telegraf
version: 1.7.10
version: 1.7.11
appVersion: 1.14
deprecated: false
description: Telegraf is an agent written in Go for collecting, processing, aggregating, and writing metrics.
......
......@@ -39,6 +39,30 @@ helm uninstall telegraf
The command removes all the Kubernetes components associated with the chart and deletes the release.
## livenessProve, readinessProbe and health service
Be sure to have at least these inputs and outputs enabled so that readinessProbe and livenessProbe can work as expected and that the health service endpoint is correctly set up:
```yaml
[...]
config:
[...]
outputs:
- health:
service_address: "http://:8888"
compares:
field: buffer_size
lt: 5000.0
contains:
field: buffer_size
[...]
inputs:
- internal:
collect_memstats: false
[...]
```
## Configuration
The default configuration parameters are listed in `values.yaml`.
......@@ -50,8 +74,10 @@ helm upgrade --install telegraf influxdata/telegraf
> **Tip**: `helm upgrade --install [RELEASE] [CHART] [FLAGS]` can be shortened : `helm upgrade -i [RELEASE] [CHART] [FLAGS]`
Outputs and inputs are configured as arrays of key/value dictionaries. Additional examples and defaults can be found in [values.yaml](values.yaml)
Example:
```
```yaml
outputs:
- influxdb:
urls: []
......
......@@ -122,6 +122,8 @@ config:
- "http://influxdb.monitoring.svc:8086"
database: "telegraf"
inputs:
- internal:
collect_memstats: false
- statsd:
service_address: ":8125"
percentiles:
......
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