blob: 1328a20439d103daec3b41a295d883256b93dcf0 [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
16#################################################################
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# application image
39## Elasticsearch data node parameters
40##
41name: data
42## Number of data node(s) replicas to deploy
43##
44replicaCount: 0
45## required for "common.containerPorts"
46## no dedicated service for data nodes
47service:
48 ## list of ports for "common.containerPorts"
49 ports:
50 - name: http-transport
51 port: 9300
52
Grzegorz-Lisc3a7cf62020-11-09 09:59:53 +000053image: bitnami/elasticsearch:7.9.3
Alexander Dehnc2a36862020-09-02 11:48:20 +000054## Specify a imagePullPolicy
55## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
56## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
57##
58pullPolicy: IfNotPresent
59## Optionally specify an array of imagePullSecrets.
60## Secrets must be manually created in the namespace.
61## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
62##
63# pullSecrets:
64# - myRegistryKeySecretName
65## Set to true if you would like to see extra information on logs
66## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
67##
68debug: false
Alexander Dehnab86ec12020-02-05 14:38:54 +000069
70
71## updateStrategy for ElasticSearch Data statefulset
72## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
73##
74updateStrategy:
75 type: RollingUpdate
76 # rollingUpdatePartition
77heapSize: 128m
78## Provide annotations for the data pods.
79##
80podAnnotations: {}
81## Pod Security Context for data pods.
82## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
83##
84securityContext:
85 enabled: true
86 fsGroup: 1001
87 runAsUser: 1001
88## Affinity for pod assignment.
89## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
90##
91affinity: {}
92## Node labels for pod assignment. Evaluated as a template.
93## Ref: https://kubernetes.io/docs/user-guide/node-selection/
94##
95nodeSelector: {}
96## Tolerations for pod assignment. Evaluated as a template.
97## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
98##
99tolerations: []
100## Elasticsearch data container's resource requests and limits
101## ref: http://kubernetes.io/docs/user-guide/compute-resources/
102##
103resources:
104 ## We usually recommend not to specify default resources and to leave this as a conscious
105 ## choice for the user. This also increases chances charts run on environments with little
106 ## resources, such as Minikube.
107 limits: {}
108 # cpu: 100m
109 # memory: 128Mi
110 requests:
111 cpu: 25m
112 memory: 1152Mi
113## Elasticsearch data container's liveness and readiness probes
114## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
115##
116livenessProbe:
117 enabled: false
118# initialDelaySeconds: 90
119# periodSeconds: 10
120# timeoutSeconds: 5
121# successThreshold: 1
122# failureThreshold: 5
123readinessProbe:
124 enabled: false
125# initialDelaySeconds: 90
126# periodSeconds: 10
127# timeoutSeconds: 5
128# successThreshold: 1
129# failureThreshold: 5
130## Enable persistence using Persistent Volume Claims
131## ref: http://kubernetes.io/docs/user-guide/persistent-volumes/
132##
133persistence:
134 ## If true, use a Persistent Volume Claim, If false, use emptyDir
135 ##
136 enabled: true
137 ## suffix for pv
138 suffix: data-pv
139
140 ## Persistent Volume Storage Class
141 ## If defined, storageClassName: <storageClass>
142 ## If set to "-", storageClassName: "", which disables dynamic provisioning
143 ## If undefined (the default) or set to null, no storageClassName spec is
144 ## set, choosing the default provisioner. (gp2 on AWS, standard on
145 ## GKE, AWS & OpenStack)
146 ##
147 # storageClass: "-"
148 ## Persistent Volume Claim annotations
149 ##
150 annotations: {}
151 ## Persistent Volume Access Mode
152 ##
153 accessMode: ReadWriteOnce
154 ## Persistent Volume size
155 ##
156 size: 8Gi
157## Provide functionality to use RBAC
158##
159 # existingClaim:
160 volumeReclaimPolicy: Retain
161 mountSubPath: elastic-data
162 storageType: local
163 backup:
164 mountPath: /dockerdata-nfs/backup
165serviceAccount:
166 ## Specifies whether a ServiceAccount should be created for the data node
167 ##
168 create: false
169 ## The name of the ServiceAccount to use.
170 ## If not set and create is true, a name is generated using the fullname template
171 ##
172 # name: