blob: c0ef11ce7b21621909da1c789c6de0970c261103 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright © 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureaux5b651322020-12-07 15:34:15 +01002# Modifications Copyright © 2020 Orange
Sylvain Desbureaux70070412020-11-09 21:58:48 +01003#
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# Default values for elasticsearch.
17# This is a YAML-formatted file.
18# Declare variables to be passed into your templates.
19global: # global defaults
20 nodePortPrefix: 302
21 persistence:
22 mountPath: /dockerdata-nfs
23
24# application image
25image: elasticsearch/elasticsearch:6.1.2
26pullPolicy: Always
27restartPolicy: Always
28
29flavor: small
30flavorOverride: small
31
32# application configuration
33config:
34 tcpPort: 8443
35 nodeKeyStore: esaai-keystore.jks
36 nodeKeyStorePassword: b87b46d3da7d3d4aadfe
37 adminKeyStore: sgadmin-keystore.p12
38 adminKeyStorePassword: 341274302a70ad691e12
39 trustStore: truststore.jks
40 trustStorePassword: b200926e9da205487f63
41
42# default number of instances
43replicaCount: 1
44
45nodeSelector: {}
46
47affinity: {}
48
49# probe configuration parameters
50liveness:
51 initialDelaySeconds: 10
52 periodSeconds: 10
53 # necessary to disable liveness probe when setting breakpoints
54 # in debugger so K8s doesn't restart unresponsive container
55 enabled: true
56
57readiness:
58 initialDelaySeconds: 10
59 periodSeconds: 10
60
61service:
62 type: ClusterIP
63 name: aai-elasticsearch
64 portName: aai-elasticsearch
65 internalPort: 9200
66 portName2: aai-elasticsearch-tcp
67 internalPort2: 8443
68
69ingress:
70 enabled: false
71
72persistence:
73 enabled: true
74
75 ## A manually managed Persistent Volume and Claim
76 ## Requires persistence.enabled: true
77 ## If defined, PVC must be created manually before volume will be bound
78 # existingClaim:
79 volumeReclaimPolicy: Retain
80
81 ## database data Persistent Volume Storage Class
82 ## If defined, storageClassName: <storageClass>
83 ## If set to "-", storageClassName: "", which disables dynamic provisioning
84 ## If undefined (the default) or set to null, no storageClassName spec is
85 ## set, choosing the default provisioner. (gp2 on AWS, standard on
86 ## GKE, AWS & OpenStack)
87 ##
88 ## storageClass: "-"
89 accessMode: ReadWriteOnce
90 size: 2Gi
91 mountPath: /dockerdata-nfs
92 mountSubPath: aai/elasticsearch/data
93
94resources:
95 small:
96 limits:
97 cpu: 2
98 memory: 4Gi
99 requests:
100 cpu: 0.5
101 memory: 2Gi
102 large:
103 limits:
104 cpu: 4
105 memory: 8Gi
106 requests:
107 cpu: 1
108 memory: 4Gi
109 unlimited: {}