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
25 repositoryOverride: docker.io
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 ## Init containers parameters:
32 ## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
37 ## Elasticsearch master-eligible node parameters
40 ## Number of master-eligible node(s) replicas to deploy
43 ## master acts as master only node, choose 'no' if no further data nodes are deployed)
45 ## dedicatednode: "no"
46 image: bitnami/elasticsearch:7.9.3
47 ## Specify a imagePullPolicy
48 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
49 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
51 pullPolicy: IfNotPresent
52 ## Optionally specify an array of imagePullSecrets.
53 ## Secrets must be manually created in the namespace.
54 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
57 # - myRegistryKeySecretName
58 ## Set to true if you would like to see extra information on logs
59 ## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
63 ## String to partially override common.fullname template (will maintain the release name)
67 ## String to fully override common.fullname template
70 ## updateStrategy for ElasticSearch master statefulset
71 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
76 ## Provide annotations for master-eligible pods.
79 ## Pod Security Context for master-eligible pods.
80 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
86 ## Affinity for pod assignment.
87 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
90 ## Node labels for pod assignment. Evaluated as a template.
91 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
94 ## Tolerations for pod assignment. Evaluated as a template.
95 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
98 ## Elasticsearch master-eligible container's resource requests and limits
99 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
102 ## We usually recommend not to specify default resources and to leave this as a conscious
103 ## choice for the user. This also increases chances charts run on environments with little
104 ## resources, such as Minikube.
113 ## Elasticsearch master-eligible container's liveness and readiness probes
114 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
118 # initialDelaySeconds: 90
121 # successThreshold: 1
122 # failureThreshold: 5
125 # initialDelaySeconds: 90
128 # successThreshold: 1
129 # failureThreshold: 5
130 ## Enable persistence using Persistent Volume Claims
131 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
134 ## If true, use a Persistent Volume Claim, If false, use emptyDir
139 ## Persistent Volume Storage Class
140 ## If defined, storageClassName: <storageClass>
141 ## If set to "-", storageClassName: "", which disables dynamic provisioning
142 ## If undefined (the default) or set to null, no storageClassName spec is
143 ## set, choosing the default provisioner. (gp2 on AWS, standard on
144 ## GKE, AWS & OpenStack)
147 ## Persistent Volume Claim annotations
150 ## Persistent Volume Access Mode
152 accessMode: ReadWriteOnce
153 ## Persistent Volume size
157 volumeReclaimPolicy: Retain
158 mountSubPath: elastic-master
161 mountPath: /dockerdata-nfs/backup
162 ## Service parameters for master-eligible node(s)
167 ## list of ports for "common.containerPorts"
168 ## Elasticsearch transport port
170 - name: http-transport
172 ## master-eligible service type
175 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
176 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
179 ## Provide any additional annotations which may be required. This can be used to
180 ## set the LoadBalancer service type to internal only.
181 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
184 ## Set the LoadBalancer service type to internal only.
185 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
188 ## Provide functionality to use RBAC
191 ## Specifies whether a ServiceAccount should be created for the master node
193 ## The name of the ServiceAccount to use.
194 ## If not set and create is true, a name is generated using the fullname template
197 ## Elasticsearch cluster name
199 clusterName: elastic-cluster