Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / dmaap / components / message-router / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 # Modifications Copyright © 2018 AT&T
3 # Modifications Copyright © 2021-2022 Nordix Foundation
4 # Modifications Copyright © 2023 DTAG
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9 #
10 #       http://www.apache.org/licenses/LICENSE-2.0
11 #
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
21 global:
22   persistence: {}
23
24 #################################################################
25 # Application configuration defaults.
26 #################################################################
27 # application image
28 image: onap/dmaap/dmaap-mr:1.4.4
29 pullPolicy: Always
30
31 #Strimzi zookeeper_tunnel config
32 zkTunnelService:
33     type: ClusterIP
34     name: zk-tunnel-svc
35     portName: tcp-zk-tunnel
36     protocol: TCP
37     internalPort: 2181
38     logLevel: debug
39     image: scholzj/zoo-entrance:latest
40
41 nodeSelector: {}
42
43 affinity: {}
44
45 containerPort: &svc_port 3904
46
47 service:
48   type: ClusterIP
49   name: message-router
50   ports:
51     - name: api
52       port: *svc_port
53       port_protocol: http
54
55 ingress:
56   enabled: false
57   service:
58     - baseaddr: "dmaap-mr-api"
59       name: "message-router"
60       port: *svc_port
61   config:
62     ssl: "redirect"
63
64 # probe configuration parameters
65 liveness:
66   initialDelaySeconds: 10
67   periodSeconds: 30
68   timeoutSeconds: 15
69   successThreshold: 1
70   failureThreshold: 3
71   # necessary to disable liveness probe when setting breakpoints
72   # in debugger so K8s doesn't restart unresponsive container
73   port: *svc_port
74   enabled: true
75
76 readiness:
77   initialDelaySeconds: 10
78   periodSeconds: 10
79   timeoutSeconds: 1
80   successThreshold: 1
81   failureThreshold: 3
82   port: *svc_port
83
84 # periodSeconds is set longer to avoid DMaaP 429 error
85 startup:
86   initialDelaySeconds: 90
87   periodSeconds: 30
88   timeoutSeconds: 15
89   successThreshold: 1
90   failureThreshold: 70
91   port: *svc_port
92
93 # Resource Limit flavor -By Default using small
94 flavor: small
95 # Segregation for Different environment (Small and Large)
96 resources:
97   small:
98     limits:
99       cpu: "2"
100       memory: "4Gi"
101     requests:
102       cpu: "1"
103       memory: "2Gi"
104   large:
105     limits:
106       cpu: "4"
107       memory: "8Gi"
108     requests:
109       cpu: "2"
110       memory: "4Gi"
111   unlimited: {}
112
113 #Pods Service Account
114 serviceAccount:
115   nameOverride: message-router
116   roles:
117     - read