blob: a2ec7b92dba50f8f124bc92636801fff9f64266a [file] [log] [blame]
Grzegorz-Lisc3a7cf62020-11-09 09:59:53 +00001# Copyright (c) 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
2# Modification Copyright (c) 2020 Nokia
Alexander Dehnab86ec12020-02-05 14:38:54 +00003#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
Alexander Dehnab86ec12020-02-05 14:38:54 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 persistence:
21 mountPath: /dockerdata-nfs
22 backup:
23 mountPath: /dockerdata-nfs/backup
24 storageClass:
Andreas Geisslerd59ac602022-08-03 11:14:03 +020025 serviceMesh:
26 enabled: false
Sylvain Desbureaux829344b2020-11-19 17:07:26 +010027
Alexander Dehnab86ec12020-02-05 14:38:54 +000028#################################################################
29# Application configuration defaults.
30#################################################################
Sylvain Desbureaux829344b2020-11-19 17:07:26 +010031
32cluster_name: onap
33
Alexander Dehnab86ec12020-02-05 14:38:54 +000034## Init containers parameters:
35sysctlImage:
36 enabled: true
37## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
38volumePermissions:
39 enabled: true
40
41# application image
42## Elasticsearch master-eligible node parameters
43##
44name: master
45## Number of master-eligible node(s) replicas to deploy
46##
47replicaCount: 3
48## master acts as master only node, choose 'no' if no further data nodes are deployed)
Sylvain Desbureaux447735b2020-10-20 10:47:05 +020049dedicatednode: 'yes'
Alexander Dehnab86ec12020-02-05 14:38:54 +000050## dedicatednode: "no"
Grzegorz-Lisc3a7cf62020-11-09 09:59:53 +000051image: bitnami/elasticsearch:7.9.3
Alexander Dehnc2a36862020-09-02 11:48:20 +000052## 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##
56pullPolicy: 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##
66debug: false
Alexander Dehnab86ec12020-02-05 14:38:54 +000067
68## String to partially override common.fullname template (will maintain the release name)
69##
70# nameOverride:
71
72## String to fully override common.fullname template
73##
74# fullnameOverride:
75## updateStrategy for ElasticSearch master statefulset
76## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
77##
78updateStrategy:
79 type: RollingUpdate
80heapSize: 128m
81## Provide annotations for master-eligible pods.
82##
83podAnnotations: {}
84## Pod Security Context for master-eligible pods.
85## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
86##
87securityContext:
88 enabled: true
89 fsGroup: 1001
90 runAsUser: 1001
91## Affinity for pod assignment.
92## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
93##
94affinity: {}
95## Node labels for pod assignment. Evaluated as a template.
96## Ref: https://kubernetes.io/docs/user-guide/node-selection/
97##
98nodeSelector: {}
99## Tolerations for pod assignment. Evaluated as a template.
100## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
101##
102tolerations: []
103## Elasticsearch master-eligible container's resource requests and limits
104## ref: http://kubernetes.io/docs/user-guide/compute-resources/
105##
106resources:
107 ## We usually recommend not to specify default resources and to leave this as a conscious
108 ## choice for the user. This also increases chances charts run on environments with little
109 ## resources, such as Minikube.
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200110 limits:
Sylvain Desbureauxddb27d62020-10-29 21:49:21 +0100111 cpu: 250m
112 memory: 1536Mi
Alexander Dehnab86ec12020-02-05 14:38:54 +0000113 # cpu: 100m
114 # memory: 128Mi
115 requests:
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200116 cpu: 5m
117 memory: 310Mi
Alexander Dehnab86ec12020-02-05 14:38:54 +0000118## Elasticsearch master-eligible container's liveness and readiness probes
119## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
120##
121livenessProbe:
122 enabled: false
123# initialDelaySeconds: 90
124# periodSeconds: 10
125# timeoutSeconds: 5
126# successThreshold: 1
127# failureThreshold: 5
128readinessProbe:
129 enabled: false
130# initialDelaySeconds: 90
131# periodSeconds: 10
132# timeoutSeconds: 5
133# successThreshold: 1
134# failureThreshold: 5
135## Enable persistence using Persistent Volume Claims
136## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
137##
138persistence:
139 ## If true, use a Persistent Volume Claim, If false, use emptyDir
140 ##
141 enabled: true
142 ## suffix for pv
143 suffix: master-pv
144 ## Persistent Volume Storage Class
145 ## If defined, storageClassName: <storageClass>
146 ## If set to "-", storageClassName: "", which disables dynamic provisioning
147 ## If undefined (the default) or set to null, no storageClassName spec is
148 ## set, choosing the default provisioner. (gp2 on AWS, standard on
149 ## GKE, AWS & OpenStack)
150 ##
151 # storageClass: "-"
152 ## Persistent Volume Claim annotations
153 ##
154 annotations: {}
155 ## Persistent Volume Access Mode
156 ##
157 accessMode: ReadWriteOnce
158 ## Persistent Volume size
159 ##
160 size: 8Gi
161 # existingClaim:
162 volumeReclaimPolicy: Retain
163 mountSubPath: elastic-master
164 storageType: local
165 backup:
166 mountPath: /dockerdata-nfs/backup
167## Service parameters for master-eligible node(s)
168##
169service:
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200170 suffix: 'service'
171 name: ''
Alexander Dehnab86ec12020-02-05 14:38:54 +0000172 ## list of ports for "common.containerPorts"
173 ## Elasticsearch transport port
174 ports:
Andreas Geissler90aa4822022-06-02 11:48:30 +0200175 - name: tcp-transport
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200176 port: 9300
Alexander Dehnab86ec12020-02-05 14:38:54 +0000177 ## master-eligible service type
178 ##
179 type: ClusterIP
180 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
181 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
182 ##
183 # nodePort:
184 ## Provide any additional annotations which may be required. This can be used to
185 ## set the LoadBalancer service type to internal only.
186 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
187 ##
188 annotations: {}
189 ## Set the LoadBalancer service type to internal only.
190 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
191 ##
192 # loadBalancerIP:
193## Provide functionality to use RBAC
194##
195serviceAccount:
196 ## Specifies whether a ServiceAccount should be created for the master node
197 create: false
198 ## The name of the ServiceAccount to use.
199 ## If not set and create is true, a name is generated using the fullname template
200 # name:
201
Alexander Dehnab86ec12020-02-05 14:38:54 +0000202## Elasticsearch cluster name
203##
204clusterName: elastic-cluster