Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telegraf does not support a HorizontalPodAutoScaler #624

Open
naveenkr-synamedia opened this issue Jan 19, 2024 · 0 comments
Open

Telegraf does not support a HorizontalPodAutoScaler #624

naveenkr-synamedia opened this issue Jan 19, 2024 · 0 comments

Comments

@naveenkr-synamedia
Copy link

Telegraf currently does not support a HorizontalPodAutoScaler in its deployment and has to be pre-scalled to a number of replicas according to the peak event load it might have to process. This makes it difficult to dealing with a varying load dynamically and we are having to prescale it too high to mean peak load.

HPAs are standard for Kubernetes pods that can be horizontally scalled, which telegraf should be? See https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ for docs and https://github.com/bitnami/charts/blob/main/bitnami/nginx/templates/hpa.yaml for a reference example. We would be able to set 'autoscaling' values for min and max replicas, allowing it to scale when target cpu/mem resource utilization has reached on any pod and scale down as required when it has stabilized.

Please let us know if this is on the roadmap. If not would there be an objection to us submitting a PR? Thanks

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

No branches or pull requests

1 participant