blob: 49b4c363785c92b93b61a64e8b17d1c9dbfad720 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright © 2018 Amdocs, Bell Canada, AT&T
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# Default values for elasticsearch.
16# This is a YAML-formatted file.
17# Declare variables to be passed into your templates.
18global: # global defaults
19 nodePortPrefix: 302
20 persistence:
21 mountPath: /dockerdata-nfs
22
23# application image
24image: elasticsearch/elasticsearch:6.1.2
25pullPolicy: Always
26restartPolicy: Always
27
28flavor: small
29flavorOverride: small
30
31# application configuration
32config:
33 tcpPort: 8443
34 nodeKeyStore: esaai-keystore.jks
35 nodeKeyStorePassword: b87b46d3da7d3d4aadfe
36 adminKeyStore: sgadmin-keystore.p12
37 adminKeyStorePassword: 341274302a70ad691e12
38 trustStore: truststore.jks
39 trustStorePassword: b200926e9da205487f63
40
41# default number of instances
42replicaCount: 1
43
44nodeSelector: {}
45
46affinity: {}
47
48# probe configuration parameters
49liveness:
50 initialDelaySeconds: 10
51 periodSeconds: 10
52 # necessary to disable liveness probe when setting breakpoints
53 # in debugger so K8s doesn't restart unresponsive container
54 enabled: true
55
56readiness:
57 initialDelaySeconds: 10
58 periodSeconds: 10
59
60service:
61 type: ClusterIP
62 name: aai-elasticsearch
63 portName: aai-elasticsearch
64 internalPort: 9200
65 portName2: aai-elasticsearch-tcp
66 internalPort2: 8443
67
68ingress:
69 enabled: false
70
71persistence:
72 enabled: true
73
74 ## A manually managed Persistent Volume and Claim
75 ## Requires persistence.enabled: true
76 ## If defined, PVC must be created manually before volume will be bound
77 # existingClaim:
78 volumeReclaimPolicy: Retain
79
80 ## database data Persistent Volume Storage Class
81 ## If defined, storageClassName: <storageClass>
82 ## If set to "-", storageClassName: "", which disables dynamic provisioning
83 ## If undefined (the default) or set to null, no storageClassName spec is
84 ## set, choosing the default provisioner. (gp2 on AWS, standard on
85 ## GKE, AWS & OpenStack)
86 ##
87 ## storageClass: "-"
88 accessMode: ReadWriteOnce
89 size: 2Gi
90 mountPath: /dockerdata-nfs
91 mountSubPath: aai/elasticsearch/data
92
93resources:
94 small:
95 limits:
96 cpu: 2
97 memory: 4Gi
98 requests:
99 cpu: 0.5
100 memory: 2Gi
101 large:
102 limits:
103 cpu: 4
104 memory: 8Gi
105 requests:
106 cpu: 1
107 memory: 4Gi
108 unlimited: {}