blob: 2eae0de4c096cba665c0cc528e36060b632f7a98 [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:
Sylvain Desbureaux829344b2020-11-19 17:07:26 +010025
Alexander Dehnab86ec12020-02-05 14:38:54 +000026#################################################################
27# Application configuration defaults.
28#################################################################
Sylvain Desbureaux829344b2020-11-19 17:07:26 +010029
30cluster_name: onap
31
Alexander Dehnab86ec12020-02-05 14:38:54 +000032## Init containers parameters:
33sysctlImage:
34 enabled: true
35## volumePermissions: Change the owner and group of the persistent volume mountpoint to runAsUser:fsGroup values from the securityContext section.
36volumePermissions:
37 enabled: true
38
39# application image
40## Elasticsearch master-eligible node parameters
41##
42name: master
43## Number of master-eligible node(s) replicas to deploy
44##
45replicaCount: 3
46## master acts as master only node, choose 'no' if no further data nodes are deployed)
Sylvain Desbureaux447735b2020-10-20 10:47:05 +020047dedicatednode: 'yes'
Alexander Dehnab86ec12020-02-05 14:38:54 +000048## dedicatednode: "no"
Grzegorz-Lisc3a7cf62020-11-09 09:59:53 +000049image: bitnami/elasticsearch:7.9.3
Alexander Dehnc2a36862020-09-02 11:48:20 +000050## 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## String to partially override common.fullname template (will maintain the release name)
67##
68# nameOverride:
69
70## String to fully override common.fullname template
71##
72# fullnameOverride:
73## updateStrategy for ElasticSearch master statefulset
74## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
75##
76updateStrategy:
77 type: RollingUpdate
78heapSize: 128m
79## Provide annotations for master-eligible pods.
80##
81podAnnotations: {}
82## Pod Security Context for master-eligible pods.
83## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
84##
85securityContext:
86 enabled: true
87 fsGroup: 1001
88 runAsUser: 1001
89## Affinity for pod assignment.
90## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
91##
92affinity: {}
93## Node labels for pod assignment. Evaluated as a template.
94## Ref: https://kubernetes.io/docs/user-guide/node-selection/
95##
96nodeSelector: {}
97## Tolerations for pod assignment. Evaluated as a template.
98## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
99##
100tolerations: []
101## Elasticsearch master-eligible container's resource requests and limits
102## ref: http://kubernetes.io/docs/user-guide/compute-resources/
103##
104resources:
105 ## We usually recommend not to specify default resources and to leave this as a conscious
106 ## choice for the user. This also increases chances charts run on environments with little
107 ## resources, such as Minikube.
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200108 limits:
Sylvain Desbureauxddb27d62020-10-29 21:49:21 +0100109 cpu: 250m
110 memory: 1536Mi
Alexander Dehnab86ec12020-02-05 14:38:54 +0000111 # cpu: 100m
112 # memory: 128Mi
113 requests:
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200114 cpu: 5m
115 memory: 310Mi
Alexander Dehnab86ec12020-02-05 14:38:54 +0000116## Elasticsearch master-eligible container's liveness and readiness probes
117## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
118##
119livenessProbe:
120 enabled: false
121# initialDelaySeconds: 90
122# periodSeconds: 10
123# timeoutSeconds: 5
124# successThreshold: 1
125# failureThreshold: 5
126readinessProbe:
127 enabled: false
128# initialDelaySeconds: 90
129# periodSeconds: 10
130# timeoutSeconds: 5
131# successThreshold: 1
132# failureThreshold: 5
133## Enable persistence using Persistent Volume Claims
134## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
135##
136persistence:
137 ## If true, use a Persistent Volume Claim, If false, use emptyDir
138 ##
139 enabled: true
140 ## suffix for pv
141 suffix: master-pv
142 ## Persistent Volume Storage Class
143 ## If defined, storageClassName: <storageClass>
144 ## If set to "-", storageClassName: "", which disables dynamic provisioning
145 ## If undefined (the default) or set to null, no storageClassName spec is
146 ## set, choosing the default provisioner. (gp2 on AWS, standard on
147 ## GKE, AWS & OpenStack)
148 ##
149 # storageClass: "-"
150 ## Persistent Volume Claim annotations
151 ##
152 annotations: {}
153 ## Persistent Volume Access Mode
154 ##
155 accessMode: ReadWriteOnce
156 ## Persistent Volume size
157 ##
158 size: 8Gi
159 # existingClaim:
160 volumeReclaimPolicy: Retain
161 mountSubPath: elastic-master
162 storageType: local
163 backup:
164 mountPath: /dockerdata-nfs/backup
165## Service parameters for master-eligible node(s)
166##
167service:
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200168 suffix: 'service'
169 name: ''
Alexander Dehnab86ec12020-02-05 14:38:54 +0000170 ## list of ports for "common.containerPorts"
171 ## Elasticsearch transport port
172 ports:
Andreas Geissler90aa4822022-06-02 11:48:30 +0200173 - name: tcp-transport
Sylvain Desbureaux447735b2020-10-20 10:47:05 +0200174 port: 9300
Alexander Dehnab86ec12020-02-05 14:38:54 +0000175 ## master-eligible service type
176 ##
177 type: ClusterIP
178 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
179 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
180 ##
181 # nodePort:
182 ## Provide any additional annotations which may be required. This can be used to
183 ## set the LoadBalancer service type to internal only.
184 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
185 ##
186 annotations: {}
187 ## Set the LoadBalancer service type to internal only.
188 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
189 ##
190 # loadBalancerIP:
191## Provide functionality to use RBAC
192##
193serviceAccount:
194 ## Specifies whether a ServiceAccount should be created for the master node
195 create: false
196 ## The name of the ServiceAccount to use.
197 ## If not set and create is true, a name is generated using the fullname template
198 # name:
199
Alexander Dehnab86ec12020-02-05 14:38:54 +0000200## Elasticsearch cluster name
201##
202clusterName: elastic-cluster