How to autoscale elastic search using VPA in kubernetes?

7/14/2020

Hi I am new to elastic search.

I searched a lot but not found documentation / article regarding auto scaling elastic search using kubernetes Vertical Pod Autoscaling.

I need to know whether I can do VPA with elastic search ?

-- Developer Desk
elasticsearch
kubernetes

1 Answer

7/15/2020

According to the official google docs regarding the limitations of the Vertical Pod Autoscaling:

Vertical Pod autoscaling is not yet ready for use with JVM-based workloads due to limited visibility into actual memory usage of the workload.

and to the Elasticsearch documentation:

Elasticsearch is built using Java, and requires at least Java 8 in order to run. Only Oracle’s Java and the OpenJDK are supported. The same JVM version should be used on all Elasticsearch nodes and clients.

So I am afraid that combining these two is not a recommended way.

-- Wytrzymały Wiktor
Source: StackOverflow