infra/ansible/roles/opensearch/templates/jvm.options.j2
Graham McIntire 39bedb08d1
renumber infrastructure from 10.0.15.0/24 to 10.0.16.0/22 (hosts in 10.0.19.x)
Proxmox: node1-3 → 10.0.19.101-103
Talos cp1-3 → 10.0.19.1-3, workers → 10.0.19.4-6
K8s endpoint → VIP https://10.0.19.10:6443
Ansible: prom → 10.0.19.31, db → 10.0.19.30
Talos: added VIP block to controlplane.yaml base config
Promtail: Loki URL → 10.0.19.31
Docs: all references updated, talos4 removed
2026-07-18 08:28:47 -05:00

24 lines
527 B
Django/Jinja

# {{ ansible_managed | default('Managed by Ansible') }}
#
# JVM options for OpenSearch
## Heap size — set min and max to the same value
-Xms{{ opensearch_heap_min }}
-Xmx{{ opensearch_heap_max }}
## GC configuration
-XX:+UseG1GC
-XX:MaxGCPauseMillis=500
## Basic JVM tuning
-XX:+ExitOnOutOfMemoryError
-XX:+HeapDumpOnOutOfMemoryError
-Djava.awt.headless=true
-Djava.security.egd=file:/dev/urandom
-Dfile.encoding=UTF-8
## Heap dump path
-XX:HeapDumpPath={{ opensearch_data_dir }}
## Temp directory
-Djava.io.tmpdir=/tmp