blob: 5624bee78b398b400f9ed13a0aaa9f2d2c8be44f [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
Alexander Dehnc2a36862020-09-02 11:48:20 +000049image: bitnami/elasticsearch:6.8.6-debian-9-r23
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
53##
54pullPolicy: 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/
58##
59# pullSecrets:
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
63##
64debug: false
Alexander Dehnab86ec12020-02-05 14:38:54 +000065
66
67## updateStrategy for ElasticSearch Data statefulset
68## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
69##
70updateStrategy:
71 type: RollingUpdate
72 # rollingUpdatePartition
73heapSize: 128m
74## Provide annotations for the data pods.
75##
76podAnnotations: {}
77## Pod Security Context for data pods.
78## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
79##
80securityContext:
81 enabled: true
82 fsGroup: 1001
83 runAsUser: 1001
84## Affinity for pod assignment.
85## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
86##
87affinity: {}
88## Node labels for pod assignment. Evaluated as a template.
89## Ref: https://kubernetes.io/docs/user-guide/node-selection/
90##
91nodeSelector: {}
92## Tolerations for pod assignment. Evaluated as a template.
93## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
94##
95tolerations: []
96## Elasticsearch data container's resource requests and limits
97## ref: http://kubernetes.io/docs/user-guide/compute-resources/
98##
99resources:
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.
103 limits: {}
104 # cpu: 100m
105 # memory: 128Mi
106 requests:
107 cpu: 25m
108 memory: 1152Mi
109## Elasticsearch data container's liveness and readiness probes
110## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
111##
112livenessProbe:
113 enabled: false
114# initialDelaySeconds: 90
115# periodSeconds: 10
116# timeoutSeconds: 5
117# successThreshold: 1
118# failureThreshold: 5
119readinessProbe:
120 enabled: false
121# initialDelaySeconds: 90
122# periodSeconds: 10
123# timeoutSeconds: 5
124# successThreshold: 1
125# failureThreshold: 5
126## Enable persistence using Persistent Volume Claims
127## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
128##
129persistence:
130 ## If true, use a Persistent Volume Claim, If false, use emptyDir
131 ##
132 enabled: true
133 ## suffix for pv
134 suffix: data-pv
135
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)
142 ##
143 # storageClass: "-"
144 ## Persistent Volume Claim annotations
145 ##
146 annotations: {}
147 ## Persistent Volume Access Mode
148 ##
149 accessMode: ReadWriteOnce
150 ## Persistent Volume size
151 ##
152 size: 8Gi
153## Provide functionality to use RBAC
154##
155 # existingClaim:
156 volumeReclaimPolicy: Retain
157 mountSubPath: elastic-data
158 storageType: local
159 backup:
160 mountPath: /dockerdata-nfs/backup
161serviceAccount:
162 ## Specifies whether a ServiceAccount should be created for the data node
163 ##
164 create: false
165 ## The name of the ServiceAccount to use.
166 ## If not set and create is true, a name is generated using the fullname template
167 ##
168 # name: