-
Notifications
You must be signed in to change notification settings - Fork 39
/
values-elasticsearch.yaml
36 lines (29 loc) · 1.08 KB
/
values-elasticsearch.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
replicas: 1
minimumMasterNodes: 1
esJavaOpts: "-Xmx512m -Xms512m"
resources:
requests:
cpu: "100m"
memory: "1Gi"
limits:
cpu: "1000m"
memory: "1Gi"
# Hard means that by default pods will only be scheduled if there are enough nodes for them
# and that they will never end up on the same node. Setting this to soft will do this "best effort"
antiAffinity: "soft"
# This is the max unavailable setting for the pod disruption budget
# The default value of 1 will make sure that kubernetes won't allow more than 1
# of your pods to be unavailable during maintenance
maxUnavailable: 0
# all primary shards are assigned, replicas unassigned (this is expected with 1 node only!)
clusterHealthCheckParams: "wait_for_status=yellow&timeout=1s"
# to avoid requiring running as a privileged container
sysctlInitContainer:
enabled: false
extraEnvs:
# skip bootstrap check that enforces sysctl vm.max_map_count >= 262144
- name: discovery.type
value: single-node
# this is set by the chart, but may not be set with discovery.type=single-node
- name: cluster.initial_master_nodes
value: ""