1 ################################################################################
2 # Copyright (c) 2019 AT&T Intellectual Property. #
4 # Licensed under the Apache License, Version 2.0 (the "License"); #
5 # you may not use this file except in compliance with the License. #
6 # You may obtain a copy of the License at #
8 # http://www.apache.org/licenses/LICENSE-2.0 #
10 # Unless required by applicable law or agreed to in writing, software #
11 # distributed under the License is distributed on an "AS IS" BASIS, #
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
13 # See the License for the specific language governing permissions and #
14 # limitations under the License. #
15 ################################################################################
18 clusterName: "elasticsearch"
21 # The service that non master groups will try to connect to when joining the cluster
22 # This should be set to clusterName + "-" + nodeGroup for your master group
25 # Elasticsearch roles that will be applied to this nodeGroup
26 # These will be set as environment variables. E.g. node.master=true
37 # Allows you to add any config files in /usr/share/elasticsearch/config/
38 # such as elasticsearch.yml and log4j2.properties
40 # elasticsearch.yml: |
43 # log4j2.properties: |
46 # Extra environment variables to append to this nodeGroup
47 # This will be appended to the current 'env:' key. You can use any of the kubernetes env
50 # - name: MY_ENVIRONMENT_VAR
51 # value: the_value_goes_here
53 # A list of secrets and their paths to mount inside the pod
54 # This is useful for mounting certificates for security and for mounting
57 # - name: elastic-certificates
58 # secretName: elastic-certificates
59 # path: /usr/share/elasticsearch/config/certs
61 image: "docker.elastic.co/elasticsearch/elasticsearch"
63 imagePullPolicy: "IfNotPresent"
66 # iam.amazonaws.com/role: es-cluster
71 esJavaOpts: "-Xmx1g -Xms1g"
97 networkHost: "0.0.0.0"
100 accessModes: [ "ReadWriteOnce" ]
113 extraVolumeMounts: []
115 # mountPath: /usr/share/extras
118 extraInitContainers: []
119 # - name: do-something
121 # command: ['do', 'something']
123 # This is the PriorityClass settings as defined in
124 # https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
125 priorityClassName: ""
127 # By default this will make sure two pods don't end up on the same node
128 # Changing this to a region would allow you to spread pods across regions
129 antiAffinityTopologyKey: "kubernetes.io/hostname"
131 # Hard means that by default pods will only be scheduled if there are enough nodes for them
132 # and that they will never end up on the same node. Setting this to soft will do this "best effort"
135 # This is the node affinity settings as defined in
136 # https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature
139 # The default is to deploy all pods serially. By setting this to parallel all pods are started at
140 # the same time when bootstrapping the cluster
141 podManagementPolicy: "Parallel"
152 updateStrategy: RollingUpdate
154 # This is the max unavailable setting for the pod disruption budget
155 # The default value of 1 will make sure that kubernetes won't allow more than 1
156 # of your pods to be unavailable during maintenance
162 # The following value is deprecated,
163 # please use the above podSecurityContext.fsGroup instead
170 # readOnlyRootFilesystem: true
174 # How long to wait for elasticsearch to stop gracefully
175 terminationGracePeriod: 120
177 sysctlVmMaxMapCount: 262144
181 initialDelaySeconds: 10
186 # https://www.elastic.co/guide/en/elasticsearch/reference/current/cluster-health.html#request-params wait_for_status
187 clusterHealthCheckParams: "wait_for_status=green&timeout=1s"
189 ## Use an alternate scheduler.
190 ## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
198 # Enabling this will publically expose your Elasticsearch instance.
199 # Only enable this if you have security enabled on your cluster
203 # kubernetes.io/ingress.class: nginx
204 # kubernetes.io/tls-acme: "true"
207 - chart-example.local
209 # - secretName: chart-example-tls
211 # - chart-example.local
216 # https://github.com/elastic/helm-charts/issues/63
217 masterTerminationFix: false
222 # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]
225 # command: ["/bin/sh", "-c", "echo Hello from the postStart handler > /usr/share/message"]