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