2024-02-01 14:32:09 +01:00
2026-02-04 11:13:00 +01:00
2026-01-13 16:30:15 +01:00
2025-05-14 15:06:53 +02:00
2024-10-04 16:37:31 +02:00
2025-05-14 15:07:36 +02:00
2026-02-04 11:13:00 +01:00

elasticsearch

Nomad job template for Elasticsearch cluster

Configure replicas for indices

You can configure indices to have the desired number of replicas

for INDEX in inventory stock purchase-requests; do
  curl --user 'elastic:XXX' \
    -X PUT \
    -H 'Content-Type: application/json' \
    http://localhost:9200/${INDEX}/_settings \
    -d '{ "index.number_of_replicas" : 2 }'
done
Description
No description provided
Readme 184 KiB
Languages
Shell 57.6%
HCL 31.8%
Dockerfile 10.6%