1 # Copyright (c) 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
2 # Modification Copyright (c) 2020 Nokia
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
21 mountPath: /dockerdata-nfs
23 mountPath: /dockerdata-nfs/backup
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
32 ## Init containers parameters:
35 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
40 ## Elasticsearch master-eligible node parameters
43 ## Number of master-eligible node(s) replicas to deploy
46 ## master acts as master only node, choose 'no' if no further data nodes are deployed)
48 ## dedicatednode: "no"
49 image: bitnami/elasticsearch:7.9.3
50 ## Specify a imagePullPolicy
51 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
52 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
54 pullPolicy: IfNotPresent
55 ## Optionally specify an array of imagePullSecrets.
56 ## Secrets must be manually created in the namespace.
57 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
60 # - myRegistryKeySecretName
61 ## Set to true if you would like to see extra information on logs
62 ## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
66 ## String to partially override common.fullname template (will maintain the release name)
70 ## String to fully override common.fullname template
73 ## updateStrategy for ElasticSearch master statefulset
74 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
79 ## Provide annotations for master-eligible pods.
82 ## Pod Security Context for master-eligible pods.
83 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
89 ## Affinity for pod assignment.
90 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
93 ## Node labels for pod assignment. Evaluated as a template.
94 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
97 ## Tolerations for pod assignment. Evaluated as a template.
98 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
101 ## Elasticsearch master-eligible container's resource requests and limits
102 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
105 ## We usually recommend not to specify default resources and to leave this as a conscious
106 ## choice for the user. This also increases chances charts run on environments with little
107 ## resources, such as Minikube.
116 ## Elasticsearch master-eligible container's liveness and readiness probes
117 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
121 # initialDelaySeconds: 90
124 # successThreshold: 1
125 # failureThreshold: 5
128 # initialDelaySeconds: 90
131 # successThreshold: 1
132 # failureThreshold: 5
133 ## Enable persistence using Persistent Volume Claims
134 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
137 ## If true, use a Persistent Volume Claim, If false, use emptyDir
142 ## Persistent Volume Storage Class
143 ## If defined, storageClassName: <storageClass>
144 ## If set to "-", storageClassName: "", which disables dynamic provisioning
145 ## If undefined (the default) or set to null, no storageClassName spec is
146 ## set, choosing the default provisioner. (gp2 on AWS, standard on
147 ## GKE, AWS & OpenStack)
150 ## Persistent Volume Claim annotations
153 ## Persistent Volume Access Mode
155 accessMode: ReadWriteOnce
156 ## Persistent Volume size
160 volumeReclaimPolicy: Retain
161 mountSubPath: elastic-master
164 mountPath: /dockerdata-nfs/backup
165 ## Service parameters for master-eligible node(s)
170 ## list of ports for "common.containerPorts"
171 ## Elasticsearch transport port
173 - name: http-transport
175 ## master-eligible service type
178 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
179 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
182 ## Provide any additional annotations which may be required. This can be used to
183 ## set the LoadBalancer service type to internal only.
184 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
187 ## Set the LoadBalancer service type to internal only.
188 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
191 ## Provide functionality to use RBAC
194 ## Specifies whether a ServiceAccount should be created for the master node
196 ## The name of the ServiceAccount to use.
197 ## If not set and create is true, a name is generated using the fullname template
200 ## Elasticsearch cluster name
202 clusterName: elastic-cluster