blob: ea82c99f8be949b95efc8f8fa5bddcbc4b48a7ee [file] [log] [blame]
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00001# 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
kj9bf27312018-03-19 15:07:44 +020015# 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
kj9bf27312018-03-19 15:07:44 +020020
21# application image
Edwin Lawrancea1dd5872019-03-05 10:30:33 +000022image: onap/elasticsearch-sg:1.4-STAGING-latest
kj9bf27312018-03-19 15:07:44 +020023pullPolicy: Always
Edwin Lawrancea1dd5872019-03-05 10:30:33 +000024restartPolicy: Always
kj9bf27312018-03-19 15:07:44 +020025
rajeshkalai9fcfbce2018-09-20 06:36:28 -040026flavor: small
27
kj9bf27312018-03-19 15:07:44 +020028# application configuration
29config:
30 tcpPort: 8443
Edwin Lawrancea1dd5872019-03-05 10:30:33 +000031 nodeKeyStore: esaai-keystore.jks
32 nodeKeyStorePassword: b87b46d3da7d3d4aadfe
33 adminKeyStore: sgadmin-keystore.p12
34 adminKeyStorePassword: 341274302a70ad691e12
35 trustStore: truststore.jks
36 trustStorePassword: b200926e9da205487f63
kj9bf27312018-03-19 15:07:44 +020037
38# default number of instances
39replicaCount: 1
40
41nodeSelector: {}
42
43affinity: {}
44
45# probe configuration parameters
46liveness:
47 initialDelaySeconds: 10
48 periodSeconds: 10
49 # necessary to disable liveness probe when setting breakpoints
50 # in debugger so K8s doesn't restart unresponsive container
51 enabled: true
52
53readiness:
54 initialDelaySeconds: 10
55 periodSeconds: 10
56
57service:
58 type: ClusterIP
59 name: aai-elasticsearch
BorislavG1ffbd992018-04-24 07:56:27 +000060 portName: aai-elasticsearch
kj9bf27312018-03-19 15:07:44 +020061 internalPort: 9200
Edwin Lawrancea1dd5872019-03-05 10:30:33 +000062 portName2: aai-elasticsearch-tcp
63 internalPort2: 8443
kj9bf27312018-03-19 15:07:44 +020064
65ingress:
66 enabled: false
67
68persistence:
69 enabled: true
70
71 ## A manually managed Persistent Volume and Claim
72 ## Requires persistence.enabled: true
73 ## If defined, PVC must be created manually before volume will be bound
74 # existingClaim:
75 volumeReclaimPolicy: Retain
76
77 ## database data Persistent Volume Storage Class
78 ## If defined, storageClassName: <storageClass>
79 ## If set to "-", storageClassName: "", which disables dynamic provisioning
80 ## If undefined (the default) or set to null, no storageClassName spec is
81 ## set, choosing the default provisioner. (gp2 on AWS, standard on
82 ## GKE, AWS & OpenStack)
83 ##
84 ## storageClass: "-"
85 accessMode: ReadWriteMany
86 size: 2Gi
87 mountPath: /dockerdata-nfs
88 mountSubPath: aai/elasticsearch/data
89
rajeshkalai9fcfbce2018-09-20 06:36:28 -040090resources:
91 small:
92 limits:
93 cpu: 2
94 memory: 4Gi
95 requests:
fpaquett62cd70d2018-11-30 13:15:48 -050096 cpu: 0.5
rajeshkalai9fcfbce2018-09-20 06:36:28 -040097 memory: 2Gi
98 large:
99 limits:
100 cpu: 4
101 memory: 8Gi
102 requests:
jimmy297f59b2018-12-06 15:05:48 -0500103 cpu: 1
104 memory: 4Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000105 unlimited: {}