Skip to content

Commit

Permalink
Add env variable for default ES_JAVA_OPTS
Browse files Browse the repository at this point in the history
The default configuration here for ES_JAVA_OPTS will pretty much always fail as is, making this addon useless and broken unless modified. Since this is deployed automatically when addon is enabled, it seems like providing a value that works is the best option here, otherwise in a minikube the pod(s) deployed will continually fail to start.
  • Loading branch information
bennettellis authored and dlorenc committed Sep 4, 2018
1 parent a7a5ede commit e13ed7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/addons/efk/elasticsearch-rc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
fieldPath: metadata.namespace
- name: MINIMUM_MASTER_NODES
value: "1"
- name: ES_JAVA_OPTS
value: "-Xms1024m -Xmx1024m"
initContainers:
- image: registry.hub.docker.com/library/alpine:3.6
command: ["/sbin/sysctl", "-w", "vm.max_map_count=262144"]
Expand Down

0 comments on commit e13ed7a

Please sign in to comment.