Skip to content

Commit

Permalink
chore(elasticsearch): set heapSize to half the memory limit (#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKostka authored Oct 17, 2023
1 parent 094bb9f commit aea8c19
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions k8s/helmfile/env/local/elasticsearch-1.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ annotations:
traffic.sidecar.istio.io/excludeInboundPorts: "9300"

master:
heapSize: 256m
resources:
requests:
cpu: "250m"
Expand All @@ -20,6 +21,7 @@ master:
size: 1Gi

data:
heapSize: 512m
resources:
requests:
cpu: "250m"
Expand All @@ -33,6 +35,7 @@ data:
size: 2Gi

coordinating:
heapSize: 256m
resources:
requests:
cpu: "250m"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ extraConfig:
action.auto_create_index: false

master:
heapSize: 2048m
resources:
requests:
cpu: "2"
Expand All @@ -25,6 +26,7 @@ master:
size: 5Gi

data:
heapSize: 32768m
resources:
requests:
cpu: "10"
Expand All @@ -39,6 +41,7 @@ data:
size: 50Gi

coordinating:
heapSize: 2048m
resources:
requests:
cpu: "2"
Expand Down
3 changes: 3 additions & 0 deletions k8s/helmfile/env/staging/elasticsearch-1.values.yaml.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ annotations:
traffic.sidecar.istio.io/excludeInboundPorts: "9300"

master:
heapSize: 512m
resources:
requests:
cpu: "1"
Expand All @@ -21,6 +22,7 @@ master:
size: 5Gi

data:
heapSize: 2048m
resources:
requests:
cpu: "1"
Expand All @@ -35,6 +37,7 @@ data:
size: 10Gi

coordinating:
heapSize: 512m
resources:
requests:
cpu: "0.5"
Expand Down

0 comments on commit aea8c19

Please sign in to comment.