1 # Copyright © 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
20 mountPath: /dockerdata-nfs
22 mountPath: /dockerdata-nfs/backup
24 repositoryOverride: docker.io
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28 ## Init containers parameters:
31 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
36 ## Elasticsearch master-eligible node parameters
39 ## Number of master-eligible node(s) replicas to deploy
42 ## master acts as master only node, choose 'no' if no further data nodes are deployed)
44 ## dedicatednode: "no"
45 image: bitnami/elasticsearch:7.6.1
46 ## Specify a imagePullPolicy
47 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
48 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
50 pullPolicy: IfNotPresent
51 ## Optionally specify an array of imagePullSecrets.
52 ## Secrets must be manually created in the namespace.
53 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
56 # - myRegistryKeySecretName
57 ## Set to true if you would like to see extra information on logs
58 ## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
62 ## String to partially override common.fullname template (will maintain the release name)
66 ## String to fully override common.fullname template
69 ## updateStrategy for ElasticSearch master statefulset
70 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
75 ## Provide annotations for master-eligible pods.
78 ## Pod Security Context for master-eligible pods.
79 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
85 ## Affinity for pod assignment.
86 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
89 ## Node labels for pod assignment. Evaluated as a template.
90 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
93 ## Tolerations for pod assignment. Evaluated as a template.
94 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
97 ## Elasticsearch master-eligible container's resource requests and limits
98 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
101 ## We usually recommend not to specify default resources and to leave this as a conscious
102 ## choice for the user. This also increases chances charts run on environments with little
103 ## resources, such as Minikube.
112 ## Elasticsearch master-eligible container's liveness and readiness probes
113 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
117 # initialDelaySeconds: 90
120 # successThreshold: 1
121 # failureThreshold: 5
124 # initialDelaySeconds: 90
127 # successThreshold: 1
128 # failureThreshold: 5
129 ## Enable persistence using Persistent Volume Claims
130 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
133 ## If true, use a Persistent Volume Claim, If false, use emptyDir
138 ## Persistent Volume Storage Class
139 ## If defined, storageClassName: <storageClass>
140 ## If set to "-", storageClassName: "", which disables dynamic provisioning
141 ## If undefined (the default) or set to null, no storageClassName spec is
142 ## set, choosing the default provisioner. (gp2 on AWS, standard on
143 ## GKE, AWS & OpenStack)
146 ## Persistent Volume Claim annotations
149 ## Persistent Volume Access Mode
151 accessMode: ReadWriteOnce
152 ## Persistent Volume size
156 volumeReclaimPolicy: Retain
157 mountSubPath: elastic-master
160 mountPath: /dockerdata-nfs/backup
161 ## Service parameters for master-eligible node(s)
166 ## list of ports for "common.containerPorts"
167 ## Elasticsearch transport port
169 - name: http-transport
171 ## master-eligible service type
174 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
175 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
178 ## Provide any additional annotations which may be required. This can be used to
179 ## set the LoadBalancer service type to internal only.
180 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
183 ## Set the LoadBalancer service type to internal only.
184 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
187 ## Provide functionality to use RBAC
190 ## Specifies whether a ServiceAccount should be created for the master node
192 ## The name of the ServiceAccount to use.
193 ## If not set and create is true, a name is generated using the fullname template
196 ## Elasticsearch cluster name
198 clusterName: elastic-cluster