# Question - Autoscaling on Kubernetes with ELK

**URL:** <https://discuss.elastic.co/t/question-autoscaling-on-kubernetes-with-elk/326421>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [February 24, 2023, 10:16am UTC](https://discuss.elastic.co/t/question-autoscaling-on-kubernetes-with-elk/326421 "2023-02-24T10:16:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dvp\_at](https://avatars.discourse-cdn.com/v4/letter/d/b4bc9f/32.png) [@dvp\_at](https://discuss.elastic.co/u/dvp_at)\
**Post date:** [February 24, 2023, 10:16am UTC](https://discuss.elastic.co/t/question-autoscaling-on-kubernetes-with-elk/326421/1 "2023-02-24T10:16:01Z")

</div>

Hello all,

I am new in the ECK and Kubernetes environement usage and I am currently working on a school project.

We need to autoscale our kubernetes pods on 3 nodes, depending the workload of the pods on the nodes.  
On these pods, we have Mariadb servers, web servers, web applications...  
We were wondering if we could use ECK to send metrics to the Kubernetes API, so the kubernetes engine can choose when and where to autoscale, what do you think about that ?

Sorry if it is not enough technical language, but as a French, it is hard to translate what i think.  
Thank you all !

---

<div class="post-metadata">

**Author:** ![michael.morello](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/michael.morello/32/47448_2.png) [@michael.morello](https://discuss.elastic.co/u/michael.morello)\
**Post date:** [February 27, 2023, 9:36am UTC](https://discuss.elastic.co/t/question-autoscaling-on-kubernetes-with-elk/326421/2 "2023-02-27T09:36:44Z")

</div>

Hi,

ECK is about deploying the Elastic stack on Kubernetes. It cannot be used to server metrics to the K8S control plane.

You can however use ECK to:

1. Deploy components like Beats or Agent to collect metrics from your applications
2. Send these metrics to an Elasticsearch cluster
3. Use the [Elasticsearch adapter for the K8S metrics API](https://github.com/elastic/elasticsearch-k8s-metrics-adapter) to scale your applications using [`HorizontalPodAutoscaler`](https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/) resources.

Note that the Elasticsearch adapter for the K8S metrics API is still at an early stage, any feedback is welcome.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 27, 2023, 9:37am UTC](https://discuss.elastic.co/t/question-autoscaling-on-kubernetes-with-elk/326421/3 "2023-03-27T09:37:24Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
