Merge "[elasticsearch] Change ES_HEAP_SIZE to ES_JAVA_OPTS."
This commit is contained in:
commit
b4de44b8be
@ -6,7 +6,7 @@ elasticsearch_services:
|
||||
enabled: true
|
||||
image: "{{ elasticsearch_image_full }}"
|
||||
environment:
|
||||
ES_HEAP_SIZE: "{{ es_heap_size }}"
|
||||
ES_JAVA_OPTS: "{{ es_java_opts }}"
|
||||
volumes:
|
||||
- "{{ node_config_directory }}/elasticsearch/:{{ container_config_directory }}/"
|
||||
- "/etc/localtime:/etc/localtime:ro"
|
||||
@ -18,6 +18,7 @@ elasticsearch_services:
|
||||
####################
|
||||
elasticsearch_cluster_name: "kolla_logging"
|
||||
es_heap_size: "1g"
|
||||
es_java_opts: "{% if es_heap_size %}-Xms{{ es_heap_size }} -Xmx{{ es_heap_size }}{%endif%}"
|
||||
|
||||
####################
|
||||
# Docker
|
||||
|
Loading…
Reference in New Issue
Block a user