Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / cds / components / cds-sdc-listener / values.yaml
1 # Copyright (c) 2019 Bell Canada
2 # Modification Copyright © 2022 Nordix Foundation
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 # Global configuration defaults.
17 #################################################################
18 global:
19   # Change to an unused port prefix range to prevent port conflicts
20   # with other instances running within the same k8s cluster
21   nodePortPrefix: 302
22
23   # image pull policy
24   pullPolicy: Always
25
26   persistence:
27     mountPath: /dockerdata-nfs
28
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 # application image
33 image: onap/ccsdk-sdclistener:1.5.3
34 name: sdc-listener
35 pullPolicy: Always
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 kafkaUser:
41   acls:
42     - name: cds
43       type: group
44       operations: [Read]
45     - name: SDC-DISTR
46       type: topic
47       patternType: prefix
48       operations: [Read, Write]
49
50 config:
51   appConfigDir: /opt/app/onap/config
52
53 # default number of instances
54 replicaCount: 1
55
56 nodeSelector: {}
57
58 affinity: {}
59
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 10
63   periodSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   enabled: true
67
68 readiness:
69   initialDelaySeconds: 10
70   periodSeconds: 10
71
72 service:
73   type: ClusterIP
74   name: cds-sdc-listener
75   internalPort: 8080
76   ports:
77     - name: http
78       port: 8080
79
80 persistence:
81   enabled: true
82
83 ingress:
84   enabled: false
85
86 logback:
87   rootLogLevel: INFO
88   logger:
89     springframework: INFO
90     springframeworkWeb: INFO
91     springframeworkSecurityWebauthentication: INFO
92     hibernate: INFO
93     onapCcsdkCds: INFO
94
95 flavor: small
96
97 resources:
98   small:
99     limits:
100       cpu: "1"
101       memory: "700Mi"
102     requests:
103       cpu: "0.5"
104       memory: "700Mi"
105   large:
106     limits:
107       cpu: "2"
108       memory: "1.4Gi"
109     requests:
110       cpu: "1"
111       memory: "1.4Gi"
112   unlimited: {}
113
114 #Pods Service Account
115 serviceAccount:
116   nameOverride: cds-sdc-listener
117   roles:
118     - read