Skip to main content
Skip to main content
🚧 Work in Progress

Elasticsearch

Zerops provides Elasticsearch as a service, supporting both standalone and high-availability deployments.

Connection​

  • Port: 9200
  • Protocol: HTTP only
  • Internal Access: http://hostname:9200
  • Note: When accessing from another service within the same project, use the service hostname

Configuration​

How to install/uninstall plugins​

Configure Elasticsearch plugins using a comma-separated list:

envSecrets:
PLUGINS: "analysis-icu,ingest-attachment"
  • Description: Defines plugins to install at startup
  • Format: plugin1,plugin2,...
  • Note: Removing a plugin from this list triggers uninstallation on service restart

How to adjust JVM heap allocation​

Control JVM heap size as a percentage of container memory:

envSecrets:
HEAP_PERCENT: "75"
  • Description: Percentage of container memory allocated to JVM heap
  • Default: 50
  • Range: 1-100
  • Note: To increase available memory, adjust the service's RAM allocation in scaling configuration
  • Important: Changes to HEAP_PERCENT require a service restart to take effect

Example Configuration​

services:
- hostname: elasticsearch
type: elasticsearch@8.16
mode: HA
envSecrets:
PLUGINS: "analysis-icu,ingest-attachment"
HEAP_PERCENT: "75"