blob: e59b4834f35c57bbe53c604c6988034ddfb6adba [file] [log] [blame]
Alexander Dehnab86ec12020-02-05 14:38:54 +00001# Copyright © 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
2#
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
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
Alexander Dehnab86ec12020-02-05 14:38:54 +000015#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 persistence:
20 mountPath: /dockerdata-nfs
21 backup:
22 mountPath: /dockerdata-nfs/backup
23 storageClass:
24repositoryOverride: docker.io
25#################################################################
26# Application configuration defaults.
27#################################################################
28## Init containers parameters:
29sysctlImage:
30 enabled: true
31## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
32volumePermissions:
33 enabled: true
34
35# application image
36## Elasticsearch master-eligible node parameters
37##
38name: master
39## Number of master-eligible node(s) replicas to deploy
40##
41replicaCount: 3
42## master acts as master only node, choose 'no' if no further data nodes are deployed)
Sylvain Desbureaux447735b2020-10-20 10:47:05 +020043dedicatednode: 'yes'
Alexander Dehnab86ec12020-02-05 14:38:54 +000044## dedicatednode: "no"
Alexander Dehn7af5a2a2020-09-28 14:01:46 +000045image: bitnami/elasticsearch:7.6.1
Alexander Dehnc2a36862020-09-02 11:48:20 +000046## 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
49##
50pullPolicy: 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/
54##
55# pullSecrets:
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
59##
60debug: false
Alexander Dehnab86ec12020-02-05 14:38:54 +000061
62## String to partially override common.fullname template (will maintain the release name)
63##
64# nameOverride:
65
66## String to fully override common.fullname template
67##
68# fullnameOverride:
69## updateStrategy for ElasticSearch master statefulset
70## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
71##
72updateStrategy:
73 type: RollingUpdate
74heapSize: 128m
75## Provide annotations for master-eligible pods.
76##
77podAnnotations: {}
78## Pod Security Context for master-eligible pods.
79## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
80##
81securityContext:
82 enabled: true
83 fsGroup: 1001
84 runAsUser: 1001
85## Affinity for pod assignment.
86## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
87##
88affinity: {}
89## Node labels for pod assignment. Evaluated as a template.
90## Ref: https://kubernetes.io/docs/user-guide/node-selection/
91##
92nodeSelector: {}
93## Tolerations for pod assignment. Evaluated as a template.
94## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
95##
96tolerations: []
97## Elasticsearch master-eligible container's resource requests and limits
98## ref: http://kubernetes.io/docs/user-guide/compute-resources/
99##
100resources:
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.
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200104 limits:
Sylvain Desbureauxddb27d62020-10-29 21:49:21 +0100105 cpu: 250m
106 memory: 1536Mi
Alexander Dehnab86ec12020-02-05 14:38:54 +0000107 # cpu: 100m
108 # memory: 128Mi
109 requests:
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200110 cpu: 5m
111 memory: 310Mi
Alexander Dehnab86ec12020-02-05 14:38:54 +0000112## Elasticsearch master-eligible container's liveness and readiness probes
113## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
114##
115livenessProbe:
116 enabled: false
117# initialDelaySeconds: 90
118# periodSeconds: 10
119# timeoutSeconds: 5
120# successThreshold: 1
121# failureThreshold: 5
122readinessProbe:
123 enabled: false
124# initialDelaySeconds: 90
125# periodSeconds: 10
126# timeoutSeconds: 5
127# successThreshold: 1
128# failureThreshold: 5
129## Enable persistence using Persistent Volume Claims
130## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
131##
132persistence:
133 ## If true, use a Persistent Volume Claim, If false, use emptyDir
134 ##
135 enabled: true
136 ## suffix for pv
137 suffix: master-pv
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)
144 ##
145 # storageClass: "-"
146 ## Persistent Volume Claim annotations
147 ##
148 annotations: {}
149 ## Persistent Volume Access Mode
150 ##
151 accessMode: ReadWriteOnce
152 ## Persistent Volume size
153 ##
154 size: 8Gi
155 # existingClaim:
156 volumeReclaimPolicy: Retain
157 mountSubPath: elastic-master
158 storageType: local
159 backup:
160 mountPath: /dockerdata-nfs/backup
161## Service parameters for master-eligible node(s)
162##
163service:
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200164 suffix: 'service'
165 name: ''
Alexander Dehnab86ec12020-02-05 14:38:54 +0000166 ## list of ports for "common.containerPorts"
167 ## Elasticsearch transport port
168 ports:
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200169 - name: http-transport
170 port: 9300
Alexander Dehnab86ec12020-02-05 14:38:54 +0000171 ## master-eligible service type
172 ##
173 type: ClusterIP
174 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
175 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
176 ##
177 # 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
181 ##
182 annotations: {}
183 ## Set the LoadBalancer service type to internal only.
184 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
185 ##
186 # loadBalancerIP:
187## Provide functionality to use RBAC
188##
189serviceAccount:
190 ## Specifies whether a ServiceAccount should be created for the master node
191 create: false
192 ## The name of the ServiceAccount to use.
193 ## If not set and create is true, a name is generated using the fullname template
194 # name:
195
Alexander Dehnab86ec12020-02-05 14:38:54 +0000196## Elasticsearch cluster name
197##
198clusterName: elastic-cluster