How to scale up and down nodes automatically?

Hey,

I am searching for a way to scale up and down ES nodes automatically at runtime.

I know I can update the "kind: Elasticsearch" yaml to change the number of nodes in the cluster but can this be done by itself?

Is there something dedicated in ECK to address this specific matter or should I use the Kubernetes HPA?


Using ECK v1.0
Env: On premise

Thx

That's correct, to scale you would change the number of nodes in the nodeSet (or potentially replace a nodeSet to increase storage/node). We do not have support for the HPA or another autoscaling mechanism at this time. Unfortunately adopting the HPA model for Elasticsearch is challenging, as it expects there to be a single underlying deployment/sset/etc. In this case multiple ssets (can) make up an Elasticsearch resource. We hope to have a better autoscaling story in the future, but for now you would need to create something tailored for your use case.

Ok! Thx for your answer.