blob: 23302335eacd908b37a4e534568344f3fdc0fcd0 [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
15
16#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 persistence:
21 mountPath: /dockerdata-nfs
22 backup:
23 mountPath: /dockerdata-nfs/backup
24 storageClass:
25repositoryOverride: docker.io
26#################################################################
27# Application configuration defaults.
28#################################################################
29## Init containers parameters:
30sysctlImage:
31 enabled: true
32## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
33volumePermissions:
34 enabled: true
35
36# application image
37## Elasticsearch master-eligible node parameters
38##
39name: master
40## Number of master-eligible node(s) replicas to deploy
41##
42replicaCount: 3
43## master acts as master only node, choose 'no' if no further data nodes are deployed)
44dedicatednode: "yes"
45## dedicatednode: "no"
Alexander Dehn7af5a2a2020-09-28 14:01:46 +000046image: bitnami/elasticsearch:7.6.1
Alexander Dehnc2a36862020-09-02 11:48:20 +000047## 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
50##
51pullPolicy: 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/
55##
56# pullSecrets:
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
60##
61debug: false
Alexander Dehnab86ec12020-02-05 14:38:54 +000062
63## String to partially override common.fullname template (will maintain the release name)
64##
65# nameOverride:
66
67## String to fully override common.fullname template
68##
69# fullnameOverride:
70## updateStrategy for ElasticSearch master statefulset
71## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
72##
73updateStrategy:
74 type: RollingUpdate
75heapSize: 128m
76## Provide annotations for master-eligible pods.
77##
78podAnnotations: {}
79## Pod Security Context for master-eligible pods.
80## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
81##
82securityContext:
83 enabled: true
84 fsGroup: 1001
85 runAsUser: 1001
86## Affinity for pod assignment.
87## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
88##
89affinity: {}
90## Node labels for pod assignment. Evaluated as a template.
91## Ref: https://kubernetes.io/docs/user-guide/node-selection/
92##
93nodeSelector: {}
94## Tolerations for pod assignment. Evaluated as a template.
95## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
96##
97tolerations: []
98## Elasticsearch master-eligible container's resource requests and limits
99## ref: http://kubernetes.io/docs/user-guide/compute-resources/
100##
101resources:
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.
105 limits: {}
106 # cpu: 100m
107 # memory: 128Mi
108 requests:
109 cpu: 25m
110 memory: 256Mi
111## Elasticsearch master-eligible container's liveness and readiness probes
112## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
113##
114livenessProbe:
115 enabled: false
116# initialDelaySeconds: 90
117# periodSeconds: 10
118# timeoutSeconds: 5
119# successThreshold: 1
120# failureThreshold: 5
121readinessProbe:
122 enabled: false
123# initialDelaySeconds: 90
124# periodSeconds: 10
125# timeoutSeconds: 5
126# successThreshold: 1
127# failureThreshold: 5
128## Enable persistence using Persistent Volume Claims
129## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
130##
131persistence:
132 ## If true, use a Persistent Volume Claim, If false, use emptyDir
133 ##
134 enabled: true
135 ## suffix for pv
136 suffix: master-pv
137 ## Persistent Volume Storage Class
138 ## If defined, storageClassName: <storageClass>
139 ## If set to "-", storageClassName: "", which disables dynamic provisioning
140 ## If undefined (the default) or set to null, no storageClassName spec is
141 ## set, choosing the default provisioner. (gp2 on AWS, standard on
142 ## GKE, AWS & OpenStack)
143 ##
144 # storageClass: "-"
145 ## Persistent Volume Claim annotations
146 ##
147 annotations: {}
148 ## Persistent Volume Access Mode
149 ##
150 accessMode: ReadWriteOnce
151 ## Persistent Volume size
152 ##
153 size: 8Gi
154 # existingClaim:
155 volumeReclaimPolicy: Retain
156 mountSubPath: elastic-master
157 storageType: local
158 backup:
159 mountPath: /dockerdata-nfs/backup
160## Service parameters for master-eligible node(s)
161##
162service:
163 suffix: "service"
164 name: ""
165 ## list of ports for "common.containerPorts"
166 ## Elasticsearch transport port
167 ports:
168 - name: http-transport
169 port: 9300
170 ## master-eligible service type
171 ##
172 type: ClusterIP
173 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
174 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
175 ##
176 # nodePort:
177 ## Provide any additional annotations which may be required. This can be used to
178 ## set the LoadBalancer service type to internal only.
179 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
180 ##
181 annotations: {}
182 ## Set the LoadBalancer service type to internal only.
183 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
184 ##
185 # loadBalancerIP:
186## Provide functionality to use RBAC
187##
188serviceAccount:
189 ## Specifies whether a ServiceAccount should be created for the master node
190 create: false
191 ## The name of the ServiceAccount to use.
192 ## If not set and create is true, a name is generated using the fullname template
193 # name:
194
195
196## Elasticsearch cluster name
197##
198clusterName: elastic-cluster
199
200
201