Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / aai / components / aai-modelloader / values.yaml
1 # Copyright © 2018 Amdocs, Bell Canada, AT&T
2 # Modifications Copyright © 2020-2021 Orange
3 # Modifications Copyright © 2023 Nordix Foundation
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #       http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 # Default values for modelloader.
18 # This is a YAML-formatted file.
19 # Declare variables to be passed into your templates.
20 global: # global defaults
21   nodePortPrefix: 302
22
23 # application image
24 image: onap/model-loader:1.13.6
25 pullPolicy: Always
26 restartPolicy: Always
27 flavor: small
28 flavorOverride: small
29
30 # Strimzi KafkaUser config
31 kafkaUser:
32   acls:
33     - name: aai
34       type: group
35       operations: [Read]
36     - name: SDC-DISTR
37       type: topic
38       patternType: prefix
39       operations: [Read, Write]
40
41 # default number of instances
42 replicaCount: 1
43
44 updateStrategy:
45   type: RollingUpdate
46   maxUnavailable: 0
47   maxSurge: 1
48
49 nodeSelector: {}
50
51 affinity: {}
52
53 # probe configuration parameters
54 liveness:
55   initialDelaySeconds: 10
56   periodSeconds: 10
57   # necessary to disable liveness probe when setting breakpoints
58   # in debugger so K8s doesn't restart unresponsive container
59   enabled: true
60
61 readiness:
62   initialDelaySeconds: 10
63   periodSeconds: 10
64
65 resources:
66   small:
67     limits:
68       cpu: "1"
69       memory: "4Gi"
70     requests:
71       cpu: "0.5"
72       memory: "1Gi"
73   large:
74     limits:
75       cpu: "2"
76       memory: "8Gi"
77     requests:
78       cpu: "1"
79       memory: "2Gi"
80   unlimited: {}
81
82 tracing:
83   enabled: true
84   collector:
85     baseUrl: http://jaeger-collector.istio-system:9411
86   sampling:
87     probability: 1.0 # percentage of requests that are sampled (between 0-1/0%-100%)
88   ignorePatterns:
89     - /aai/util.*
90
91 #Pods Service Account
92 serviceAccount:
93   nameOverride: aai-modelloader
94   roles:
95     - read
96
97 # Not fully used for now
98 securityContext:
99   user_id: 1000
100   group_id: 1000
101
102 #Log configuration
103 log:
104   path: /var/log/onap
105 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'