1 # Copyright (c) 2020 Bitnami, AT&T, Amdocs, Bell Canada, highstreet technologies
2 # Modification Copyright (c) 2020 Nokia
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
8 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 #################################################################
17 # Global configuration defaults.
18 #################################################################
21 clusterName: cluster.local
24 mountPath: /dockerdata-nfs
26 mountPath: /dockerdata-nfs/backup
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 ## Init containers parameters:
37 image: bitnami/elasticsearch:7.9.3
38 ## Specify a imagePullPolicy
39 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
40 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
42 pullPolicy: IfNotPresent
43 ## Optionally specify an array of imagePullSecrets.
44 ## Secrets must be manually created in the namespace.
45 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
48 # - myRegistryKeySecretName
49 ## Set to true if you would like to see extra information on logs
50 ## ref: https://github.com/bitnami/minideb-extras/#turn-on-bash-debugging
54 ## String to partially override common.fullname template (will maintain the release name)
58 ## String to fully override common.fullname template
61 ## updateStrategy for ElasticSearch coordinating deployment
62 ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
67 ## Provide annotations for the coordinating-only pods.
70 ## Pod Security Context for coordinating-only pods.
71 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
77 ## Affinity for pod assignment.
78 ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
81 ## Node labels for pod assignment. Evaluated as a template.
82 ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
85 ## Tolerations for pod assignment. Evaluated as a template.
86 ## Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
89 ## Elasticsearch coordinating-only container's resource requests and limits
90 ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
93 ## We usually recommend not to specify default resources and to leave this as a conscious
94 ## choice for the user. This also increases chances charts run on environments with little
95 ## resources, such as Minikube.
102 ## Elasticsearch coordinating-only container's liveness and readiness probes
103 ## ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
107 # initialDelaySeconds: 90
110 # successThreshold: 1
111 # failureThreshold: 5
114 # initialDelaySeconds: 90
117 # successThreshold: 1
118 # failureThreshold: 5
119 ## Service parameters for coordinating-only node(s)
122 ## Specifies whether a ServiceAccount should be created for the coordinating node
125 ## The name of the ServiceAccount to use.
126 ## If not set and create is true, a name is generated using the fullname template
132 ## Specify a imagePullPolicy
133 ## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
134 ## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
137 ## Optionally specify an array of imagePullSecrets.
138 ## Secrets must be manually created in the namespace.
139 ## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
142 # - myRegistryKeySecretName
146 pullPolicy: IfNotPresent
152 ## Custom server block to be added to NGINX configuration
153 ## PHP-FPM example server block:
159 # auth_basic "server auth";
160 # auth_basic_user_file /etc/nginx/passwords;
161 ssl_certificate /opt/app/osaaf/local/certs/cert.pem;
162 ssl_certificate_key /opt/app/osaaf/local/certs/key.pem;
164 # deny node shutdown api
165 if ($request_filename ~ "_shutdown") {
170 proxy_pass http://localhost:9000;
171 proxy_http_version 1.1;
172 proxy_set_header Connection "Keep-Alive";
173 proxy_set_header Proxy-Connection "Keep-Alive";
174 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
175 proxy_set_header X-Forwarded-Proto $scheme;
176 proxy_set_header X-Real-IP $remote_addr;
177 proxy_set_header Host $http_host;
182 proxy_pass http://localhost:9000;
183 proxy_http_version 1.1;
184 proxy_set_header Connection "Keep-Alive";
185 proxy_set_header Proxy-Connection "Keep-Alive";
195 # deny node shutdown api
196 if ($request_filename ~ "_shutdown") {
201 proxy_pass http://localhost:9000;
202 proxy_http_version 1.1;
203 proxy_set_header Connection "Keep-Alive";
204 proxy_set_header Proxy-Connection "Keep-Alive";
205 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
206 proxy_set_header X-Forwarded-Proto $scheme;
207 proxy_set_header X-Real-IP $remote_addr;
208 proxy_set_header Host $http_host;
213 proxy_pass http://localhost:9000;
214 proxy_http_version 1.1;
215 proxy_set_header Connection "Keep-Alive";
216 proxy_set_header Proxy-Connection "Keep-Alive";
221 #################################################################
222 # coordinating service configuration defaults.
223 #################################################################
228 ## coordinating-only service type
232 - name: tcp-transport
237 service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
238 publishNotReadyAddresses: true
239 ## Elasticsearch tREST API port
246 ## Specify the nodePort value for the LoadBalancer and NodePort service types.
247 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
250 ## Provide any additional annotations which may be required. This can be used to
251 ## set the LoadBalancer service type to internal only.
252 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
255 ## Set the LoadBalancer service type to internal only.
256 ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
259 ## Provide functionality to use RBAC
262 #################################################################
263 # subcharts configuration defaults.
264 #################################################################
273 ## Change nameOverride to be consistent accross all elasticsearch (sub)-charts
277 # dedicatednode: "yes"
278 # working as master node only, in this case increase replicaCount for elasticsearch-data
279 # dedicatednode: "no"
280 # handles master and data node functionality
282 cluster_name: elasticsearch
285 cluster_name: elasticsearch