Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Telegraf with multiple replicas #79

Open
amartorelli opened this issue Jan 21, 2019 · 2 comments
Open

Telegraf with multiple replicas #79

amartorelli opened this issue Jan 21, 2019 · 2 comments

Comments

@amartorelli
Copy link

Hi,
I was wondering if it'd be possible to run multiple replicas of Telegraf to ensure high availability within the Kubernetes cluster.
The change for the chart should be very straightforward, but I'm not sure if there's a reason why it may not be supported.

Thanks

@gianarb
Copy link

gianarb commented Feb 4, 2019

I think this really depends on how you use telegraf and wich plugin, for example, if you use the http one that exposes a compatible influxdb API it is safe to run more of them because you will pick one.
But if you configure 2 telegraf with the Prometheus input plugin they will scrape both the same metrics and you will end up with data duplication.

What's your use case?

@amartorelli
Copy link
Author

In my case I'm using it as a statsd endpoint which then pushes to influxdb. I think it'd be nice to have the option to run multiple replicas in the chart. Then who doesn't need it can just stick to the default of 1 replica.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants