Skip to content

Commit 4e9297a

Browse files
committed
NEX-194: Prevent elasticsearch to fail when it detects that there is not enough free space on disk
* solution suggested in #274
1 parent bcab0f8 commit 4e9297a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.ddev/elasticsearch/docker-compose.elasticsearch8.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,10 @@ services:
1010
# Disable authentication in local development
1111
xpack.security.enabled: "false"
1212
xpack.security.enrollment.enabled: "false"
13+
# Disable default watermark, which can cause issues in local development:
14+
cluster.routing.allocation.disk.watermark.low: "2gb"
15+
cluster.routing.allocation.disk.watermark.high: "1gb"
16+
cluster.routing.allocation.disk.watermark.flood_stage: "500mb"
17+
cluster.info.update.interval: "1m"
1318
volumes:
1419
- ./elasticsearch/config/elasticsearch8.yml:/usr/share/elasticsearch/config/elasticsearch.yml

0 commit comments

Comments
 (0)