blob: cfb7f51da3622af8745a1ce62e424f8bc1959baf [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# 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# application image
35## Elasticsearch data node parameters
36##
37name: data
38## Number of data node(s) replicas to deploy
39##
40replicaCount: 0
41## required for "common.containerPorts"
42## no dedicated service for data nodes
43service:
44 ## list of ports for "common.containerPorts"
45 ports:
46 - name: http-transport
47 port: 9300
48
49image:
50 imageName: bitnami/elasticsearch
51 tag: 6.8.6-debian-9-r23
52 ## Specify a imagePullPolicy
53 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
54 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
55 ##
56 pullPolicy: IfNotPresent
57 ## Optionally specify an array of imagePullSecrets.
58 ## Secrets must be manually created in the namespace.
59 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
60 ##
61 # pullSecrets:
62 # - myRegistryKeySecretName
63 ## Set to true if you would like to see extra information on logs
64 ## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
65 ##
66 debug: false
67
68
69## updateStrategy for ElasticSearch Data statefulset
70## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
71##
72updateStrategy:
73 type: RollingUpdate
74 # rollingUpdatePartition
75heapSize: 128m
76## Provide annotations for the data pods.
77##
78podAnnotations: {}
79## Pod Security Context for data 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 data 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: 1152Mi
111## Elasticsearch data 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: data-pv
137
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## Provide functionality to use RBAC
156##
157 # existingClaim:
158 volumeReclaimPolicy: Retain
159 mountSubPath: elastic-data
160 storageType: local
161 backup:
162 mountPath: /dockerdata-nfs/backup
163serviceAccount:
164 ## Specifies whether a ServiceAccount should be created for the data node
165 ##
166 create: false
167 ## The name of the ServiceAccount to use.
168 ## If not set and create is true, a name is generated using the fullname template
169 ##
170 # name: