<p>Hi I am new to elastic search.</p>
<p>I searched a lot but not found documentation / article regarding auto scaling <code>elastic search</code> using <code>kubernetes</code> Vertical Pod Autoscaling.</p>
<p>I need to know whether I can do <code>VPA</code> with <code>elastic search</code> ?</p>

<p>According to the <a href="https://cloud.google.com/kubernetes-engine/docs/concepts/verticalpodautoscaler#limitations_for_vertical_pod_autoscaling" rel="nofollow noreferrer">official google docs</a> regarding the limitations of the Vertical Pod Autoscaling:</p>
<blockquote>
<p>Vertical Pod autoscaling is not yet ready for use with JVM-based
workloads due to limited visibility into actual memory usage of the
workload.</p>
</blockquote>
<p>and to the <a href="https://www.elastic.co/guide/en/elasticsearch/reference/6.8/setup.html#jvm-version" rel="nofollow noreferrer">Elasticsearch documentation</a>:</p>
<blockquote>
<p>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.</p>
</blockquote>
<p>So I am afraid that combining these two is not a recommended way.</p>
