blob: a6e6c966abc339f009f93c909063c71106b7b692 [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
BorislavG5f3b6192018-03-25 18:12:38 +030021 readinessRepository: oomk8s
BorislavG3d6f9372018-04-15 11:55:39 +000022 readinessImage: readiness-check:2.0.0
BorislavG5f3b6192018-03-25 18:12:38 +030023 persistence: {}
24
25#################################################################
26# Application configuration defaults.
27#################################################################
28
29# application image
30loggingRepository: docker.elastic.co
31image: logstash/logstash:5.4.3
32pullPolicy: Always
33
34# flag to enable debugging - application support required
35debugEnabled: false
36
37# application configuration
38config:
39 elasticsearchServiceName: log-es
40 elasticsearchPort: 9200
41
Gary Wuefbcaee2018-11-13 18:08:02 -080042# default number of instances
43# 30+ logs/sec will saturate a single node to 6+ vCores
rootca8af3e2018-11-23 15:52:21 -050044replicaCount: 3
BorislavG5f3b6192018-03-25 18:12:38 +030045
46nodeSelector: {}
47
48affinity: {}
49
50# probe configuration parameters
51liveness:
52 initialDelaySeconds: 120
53 periodSeconds: 10
54 # necessary to disable liveness probe when setting breakpoints
55 # in debugger so K8s doesn't restart unresponsive container
56 enabled: true
57
58readiness:
59 initialDelaySeconds: 10
60 periodSeconds: 10
61
62service:
63 #Example service definition with external, internal and node ports.
64 #Services may use any combination of ports depending on the 'type' of
65 #service being defined.
BorislavG2cf26842018-04-08 17:50:07 +030066 type: NodePort
BorislavG5f3b6192018-03-25 18:12:38 +030067 name: log-ls
68 externalPort: 5044
69 internalPort: 5044
BorislavG2cf26842018-04-08 17:50:07 +030070 nodePort: 55
71 type2: ClusterIP
72 name2: log-ls-http
73 externalPort2: 9600
74 internalPort2: 9600
BorislavG5f3b6192018-03-25 18:12:38 +030075ingress:
76 enabled: false
Lucjan Bryndzad6322c82019-12-02 15:32:10 +010077 service:
78 - baseaddr: "logls"
79 name: "log-ls"
80 port: 5044
81 - baseaddr: "loglshttp"
82 name: "log-ls"
83 port: 9600
84 config:
85 ssl: "none"
BorislavG5f3b6192018-03-25 18:12:38 +030086
Mandeep Khinda60d36d42018-09-24 15:15:48 +000087# Resource Limit flavor -By Default using small
vaibhavjayas659fbae2018-09-19 08:58:10 +000088flavor: small
89# Segregation for Different environment (Small and Large)
90resources:
91 small:
92 limits:
93 cpu: 1
94 memory: 2Gi
95 requests:
Mandeep Khinda3c134252018-09-19 23:56:37 +000096 cpu: 0.5
97 memory: 1Gi
vaibhavjayas659fbae2018-09-19 08:58:10 +000098 large:
99 limits:
100 cpu: 2
101 memory: 4Gi
102 requests:
103 cpu: 2
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000104 memory: 4Gi
rootca8af3e2018-11-23 15:52:21 -0500105 unlimited: {}