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.
35 ## Elasticsearch data node parameters
38 ## Number of data node(s) replicas to deploy
41 ## required for "common.containerPorts"
42 ## no dedicated service for data nodes
44 ## list of ports for "common.containerPorts"
46 - name: http-transport
49 image: bitnami/elasticsearch:7.6.1
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
67 ## updateStrategy for ElasticSearch Data statefulset
68 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
72 # rollingUpdatePartition
74 ## Provide annotations for the data pods.
77 ## Pod Security Context for data pods.
78 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
84 ## Affinity for pod assignment.
85 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
88 ## Node labels for pod assignment. Evaluated as a template.
89 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
92 ## Tolerations for pod assignment. Evaluated as a template.
93 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
96 ## Elasticsearch data container's resource requests and limits
97 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
100 ## We usually recommend not to specify default resources and to leave this as a conscious
101 ## choice for the user. This also increases chances charts run on environments with little
102 ## resources, such as Minikube.
109 ## Elasticsearch data container's liveness and readiness probes
110 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
114 # initialDelaySeconds: 90
117 # successThreshold: 1
118 # failureThreshold: 5
121 # initialDelaySeconds: 90
124 # successThreshold: 1
125 # failureThreshold: 5
126 ## Enable persistence using Persistent Volume Claims
127 ## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
130 ## If true, use a Persistent Volume Claim, If false, use emptyDir
136 ## Persistent Volume Storage Class
137 ## If defined, storageClassName: <storageClass>
138 ## If set to "-", storageClassName: "", which disables dynamic provisioning
139 ## If undefined (the default) or set to null, no storageClassName spec is
140 ## set, choosing the default provisioner. (gp2 on AWS, standard on
141 ## GKE, AWS & OpenStack)
144 ## Persistent Volume Claim annotations
147 ## Persistent Volume Access Mode
149 accessMode: ReadWriteOnce
150 ## Persistent Volume size
153 ## Provide functionality to use RBAC
156 volumeReclaimPolicy: Retain
157 mountSubPath: elastic-data
160 mountPath: /dockerdata-nfs/backup
162 ## Specifies whether a ServiceAccount should be created for the data node
165 ## The name of the ServiceAccount to use.
166 ## If not set and create is true, a name is generated using the fullname template