blob: adb0595b3d0e885fa4e7258b44edeb4b94786b4e [file] [log] [blame]
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00001# Copyright © 2017 Amdocs, Bell Canada
toshrajbhardwajf4fc1c62018-08-06 07:35:14 +00002# Modifications Copyright © 2018 AT&T, ZTE
Mandeep Khindab1f9efe2018-03-28 19:01:55 +00003#
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
Mandeep Khindaa1047f42018-03-22 02:12:15 +000016#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Mandeep Khindaa1047f42018-03-22 02:12:15 +000021 readinessRepository: oomk8s
Mahendra Raghuwanshi35f83f52019-03-20 10:42:49 +000022 readinessImage: readiness-check:2.0.2
Mandeep Khindaa1047f42018-03-22 02:12:15 +000023 loggingRepository: docker.elastic.co
24 loggingImage: beats/filebeat:5.5.0
25 ubuntuInitRepository: oomk8s
26 ubuntuInitImage: ubuntu-init:1.0.0
27
28
29#################################################################
30# Application configuration defaults.
31#################################################################
32# application image
33repository: nexus3.onap.org:10001
k.kedronc784bbd2019-09-05 18:28:16 +020034image: onap/sdc-elasticsearch:1.5.2
35elasticInitImage: onap/sdc-init-elasticsearch:1.5.2
Mandeep Khindaa1047f42018-03-22 02:12:15 +000036pullPolicy: Always
37
38# flag to enable debugging - application support required
39debugEnabled: false
40
41# application configuration
42config:
Mandeep Khinda403c1c12018-04-19 23:15:43 +000043 JvmHeapSize: "1024M"
44 JvmOptions: "-Xms512m -Xmx512m"
Mandeep Khindaa1047f42018-03-22 02:12:15 +000045
46# default number of instances
47replicaCount: 1
48
49nodeSelector: {}
50
51affinity: {}
52
53# probe configuration parameters
54liveness:
Areli, Fuss (af732p)d6f2e9e2018-11-04 16:29:40 +020055 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000056 periodSeconds: 10
57 # necessary to disable liveness probe when setting breakpoints
58 # in debugger so K8s doesn't restart unresponsive container
59 enabled: true
60
61readiness:
Mandeep Khinda51a8b1b2018-04-24 20:05:32 +000062 initialDelaySeconds: 60
Mandeep Khindaa1047f42018-03-22 02:12:15 +000063 periodSeconds: 10
64
65service:
66 type: ClusterIP
67 name: sdc-es
BorislavG1ffbd992018-04-24 07:56:27 +000068 portName: sdc-es
Mandeep Khindaa1047f42018-03-22 02:12:15 +000069 externalPort: 9200
70 internalPort: 9200
71 externalPort2: 9300
72 internalPort2: 9300
73
74## Persist data to a persitent volume
75persistence:
76 enabled: true
77
78 ## A manually managed Persistent Volume and Claim
79 ## Requires persistence.enabled: true
80 ## If defined, PVC must be created manually before volume will be bound
81 # existingClaim:
82 volumeReclaimPolicy: Retain
83
84 ## database data Persistent Volume Storage Class
85 ## If defined, storageClassName: <storageClass>
86 ## If set to "-", storageClassName: "", which disables dynamic provisioning
87 ## If undefined (the default) or set to null, no storageClassName spec is
88 ## set, choosing the default provisioner. (gp2 on AWS, standard on
89 ## GKE, AWS & OpenStack)
90 ##
91 # storageClass: "-"
Sylvain Desbureaux71a9fb32019-09-02 15:50:28 +020092 accessMode: ReadWriteOnce
Mandeep Khindaa1047f42018-03-22 02:12:15 +000093 size: 2Gi
94 mountPath: /dockerdata-nfs
95 mountSubPath: /sdc/sdc-es/ES
96
97ingress:
98 enabled: false
99
Mukula93baa82018-09-19 15:56:58 +0000100# Resource Limit flavor -By Default using small
101flavor: small
102# Segregation for Different environment (Small and Large)
103resources:
104 small:
105 limits:
106 cpu: 1
107 memory: 4Gi
108 requests:
109 cpu: 10m
110 memory: 1Gi
111 large:
112 limits:
113 cpu: 2
114 memory: 8Gi
115 requests:
116 cpu: 20m
117 memory: 2Gi
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000118 unlimited: {}
Mukula93baa82018-09-19 15:56:58 +0000119