[DCAEMOD] Uses new tpls for repos / images
[oom.git] / kubernetes / log / charts / log-logstash / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 #
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 #################################################################
19 global:
20   nodePortPrefix: 302
21   readinessImage: onap/oom/readiness:3.0.1
22   persistence: {}
23
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
27
28 # application image
29 loggingRepository: docker.elastic.co
30 image: logstash/logstash:5.4.3
31 pullPolicy: Always
32
33 # flag to enable debugging - application support required
34 debugEnabled: false
35
36 # application configuration
37 config:
38   elasticsearchServiceName: log-es
39   elasticsearchPort: 9200
40
41 # default number of instances
42 # 30+ logs/sec will saturate a single node to 6+ vCores
43 replicaCount: 3
44
45 nodeSelector: {}
46
47 affinity: {}
48
49 # probe configuration parameters
50 liveness:
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
57 readiness:
58   initialDelaySeconds: 10
59   periodSeconds: 10
60
61 service:
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.
65   type: NodePort
66   name: log-ls
67   externalPort: 5044
68   internalPort: 5044
69   nodePort: 55
70   type2: ClusterIP
71   name2: log-ls-http
72   externalPort2: 9600
73   internalPort2: 9600
74 ingress:
75   enabled: false
76   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"
85
86 # Resource Limit flavor -By Default using small
87 flavor: small
88 # Segregation for Different environment (Small and Large)
89 resources:
90   small:
91     limits:
92       cpu: 1
93       memory: 2Gi
94     requests:
95       cpu: 0.5
96       memory: 1Gi
97   large:
98     limits:
99       cpu: 2
100       memory: 4Gi
101     requests:
102       cpu: 2
103       memory: 4Gi
104   unlimited: {}