dromara / CloudEon

CloudEon uses Kubernetes to install and deploy open-source big data components, enabling the containerized operation of an open-source big data platform. This allows you to reduce your focus on underlying resource management and maintenance.
https://www.cloudeon.top/
Apache License 2.0
429 stars 104 forks source link

[feature] Limit the resource usage of elasticsearch containers #75

Closed linshenkx closed 1 year ago

linshenkx commented 1 year ago

[Feature] Limit the resource usage of containers. #54

What is the purpose of the change

Limit the resource usage of elasticsearch containers.

Brief changelog

  1. Remove Xms Xmx settings : By default, Elasticsearch automatically sets the JVM heap size based on a node’s roles and total memory. Using the default sizing is recommended for most production environments.
  2. Use the bundled jdk: Automatic heap sizing requires the bundled JDK or, if using a custom JRE location, a Java 14 or later JRE.

Verifying this change

Do I need to test? yes Has testing been completed? yes Test method?

jps
$ELASTICSEARCH_HOME/elasticsearch/jdk/bin/jinfo $PID
Pandas886 commented 1 year ago

LGTM.