Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / aai / components / aai-babel / values.yaml
1 # Copyright © 2018 Amdocs, AT&T
2 # Modifications Copyright © 2018 Bell Canada
3 # Modifications Copyright © 2020, 2021 Orange
4 # Modifications Copyright © 2023 Nordix Foundation
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
23 #################################################################
24 # Application configuration defaults.
25 #################################################################
26
27 # application image
28 image: onap/babel:1.12.3
29
30 flavor: small
31 flavorOverride: small
32
33 # default number of instances
34 replicaCount: 1
35
36 updateStrategy:
37   type: RollingUpdate
38   maxUnavailable: 0
39   maxSurge: 1
40
41 nodeSelector: {}
42
43 affinity: {}
44
45 # probe configuration parameters
46 liveness:
47   initialDelaySeconds: 10
48   periodSeconds: 10
49   # necessary to disable liveness probe when setting breakpoints
50   # in debugger so K8s doesn't restart unresponsive container
51   enabled: false
52
53 readiness:
54   initialDelaySeconds: 10
55   periodSeconds: 10
56
57 service:
58   type: NodePort
59   internalPort: 9516
60   ports:
61   - name: http
62     port: 9516
63     nodePort: 79
64
65 ingress:
66   enabled: false
67   service:
68     - baseaddr: "aai-babel-api"
69       name: "aai-babel"
70       port: 9516
71   config:
72     ssl: "redirect"
73
74 serviceMesh:
75   authorizationPolicy:
76     authorizedPrincipals:
77       - serviceAccount: aai-modelloader-read
78       - serviceAccount: istio-ingress
79         namespace: istio-ingress
80
81 resources:
82   small:
83     limits:
84       cpu: "1"
85       memory: "4Gi"
86     requests:
87       cpu: "0.5"
88       memory: "1Gi"
89   large:
90     limits:
91       cpu: "4"
92       memory: "8Gi"
93     requests:
94       cpu: "2"
95       memory: "2Gi"
96   unlimited: {}
97
98 #Pods Service Account
99 serviceAccount:
100   nameOverride: aai-babel
101   roles:
102     - read
103
104 #Log configuration
105 log:
106   path: /var/log/onap
107 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'