blob: 483d1b721aea3fcd649b800e4483710e54ac2622 [file] [log] [blame]
BorislavG5f3b6192018-03-25 18:12:38 +03001# Copyright © 2017 Amdocs, Bell Canada
Mukul7de56c82018-09-04 08:03:27 +00002# Modifications Copyright © 2018 AT&T
BorislavG5f3b6192018-03-25 18:12:38 +03003#
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#################################################################
17# Global configuration defaults.
18#################################################################
19global:
20 nodePortPrefix: 302
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
BorislavG5f3b6192018-03-25 18:12:38 +030022 persistence: {}
23
24#################################################################
25# Application configuration defaults.
26#################################################################
27
28# application image
29loggingRepository: docker.elastic.co
30image: logstash/logstash:5.4.3
31pullPolicy: Always
32
33# flag to enable debugging - application support required
34debugEnabled: false
35
36# application configuration
37config:
38 elasticsearchServiceName: log-es
39 elasticsearchPort: 9200
40
Gary Wuefbcaee2018-11-13 18:08:02 -080041# default number of instances
42# 30+ logs/sec will saturate a single node to 6+ vCores
rootca8af3e2018-11-23 15:52:21 -050043replicaCount: 3
BorislavG5f3b6192018-03-25 18:12:38 +030044
45nodeSelector: {}
46
47affinity: {}
48
49# probe configuration parameters
50liveness:
51 initialDelaySeconds: 120
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 #Example service definition with external, internal and node ports.
63 #Services may use any combination of ports depending on the 'type' of
64 #service being defined.
BorislavG2cf26842018-04-08 17:50:07 +030065 type: NodePort
BorislavG5f3b6192018-03-25 18:12:38 +030066 name: log-ls
67 externalPort: 5044
68 internalPort: 5044
BorislavG2cf26842018-04-08 17:50:07 +030069 nodePort: 55
70 type2: ClusterIP
71 name2: log-ls-http
72 externalPort2: 9600
73 internalPort2: 9600
BorislavG5f3b6192018-03-25 18:12:38 +030074ingress:
75 enabled: false
Lucjan Bryndzad6322c82019-12-02 15:32:10 +010076 service:
77 - baseaddr: "logls"
78 name: "log-ls"
79 port: 5044
80 - baseaddr: "loglshttp"
81 name: "log-ls"
82 port: 9600
83 config:
84 ssl: "none"
BorislavG5f3b6192018-03-25 18:12:38 +030085
Mandeep Khinda60d36d42018-09-24 15:15:48 +000086# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +000087flavor: small
88# Segregation for Different environment (Small and Large)
89resources:
90 small:
91 limits:
92 cpu: 1
93 memory: 2Gi
94 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000095 cpu: 0.5
96 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +000097 large:
98 limits:
99 cpu: 2
100 memory: 4Gi
101 requests:
102 cpu: 2
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000103 memory: 4Gi
rootca8af3e2018-11-23 15:52:21 -0500104 unlimited: {}