Revert use of DaemonSet for logstash
[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   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   persistence: {}
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28
29 # application image
30 loggingRepository: docker.elastic.co
31 image: logstash/logstash:5.4.3
32 pullPolicy: Always
33
34 # flag to enable debugging - application support required
35 debugEnabled: false
36
37 # application configuration
38 config:
39   elasticsearchServiceName: log-es
40   elasticsearchPort: 9200
41
42 # default number of instances
43 # 30+ logs/sec will saturate a single node to 6+ vCores
44 replicaCount: 5
45
46 nodeSelector: {}
47
48 affinity: {}
49
50 # probe configuration parameters
51 liveness:
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
58 readiness:
59   initialDelaySeconds: 10
60   periodSeconds: 10
61
62 service:
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.
66   type: NodePort
67   name: log-ls
68   externalPort: 5044
69   internalPort: 5044
70   nodePort: 55
71   type2: ClusterIP
72   name2: log-ls-http
73   externalPort2: 9600
74   internalPort2: 9600
75 ingress:
76   enabled: false
77
78 # Resource Limit flavor -By Default using small
79 flavor: small
80 # Segregation for Different environment (Small and Large)
81 resources:
82   small:
83     limits:
84       cpu: 1
85       memory: 2Gi
86     requests:
87       cpu: 0.5
88       memory: 1Gi
89   large:
90     limits:
91       cpu: 2
92       memory: 4Gi
93     requests:
94       cpu: 2
95       memory: 4Gi
96   unlimited: {}