blob: 0a6a640ce38c432bb558bdbdbece638d31e28c11 [file] [log] [blame]
Sylvain Desbureaux70070412020-11-09 21:58:48 +01001# Copyright © 2018 Amdocs, Bell Canada, AT&T
Sylvain Desbureaux1e997192021-02-28 14:59:22 +01002# Modifications Copyright © 2020-2021 Orange
efiacord12c1672023-03-23 12:10:50 +00003# Modifications Copyright © 2023 Nordix Foundation
Sylvain Desbureaux70070412020-11-09 21:58:48 +01004#
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.
20global: # global defaults
21 nodePortPrefix: 302
22
Sylvain Desbureaux70070412020-11-09 21:58:48 +010023# application image
david.mcweeneyc87dbc32022-11-23 12:59:04 +000024image: onap/model-loader:1.12.0
Sylvain Desbureaux70070412020-11-09 21:58:48 +010025pullPolicy: Always
26restartPolicy: Always
27flavor: small
28flavorOverride: small
david.mcweeneyc87dbc32022-11-23 12:59:04 +000029
efiacor7373ad22023-01-04 10:56:27 +000030# Strimzi KafkaUser config
31kafkaUser:
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]
Sylvain Desbureaux70070412020-11-09 21:58:48 +010040
41# default number of instances
42replicaCount: 1
43
Rommel Pawar63db7162022-11-16 10:11:24 -080044updateStrategy:
45 type: RollingUpdate
46 maxUnavailable: 0
47 maxSurge: 1
48
Sylvain Desbureaux70070412020-11-09 21:58:48 +010049nodeSelector: {}
50
51affinity: {}
52
53# probe configuration parameters
54liveness:
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
61readiness:
62 initialDelaySeconds: 10
63 periodSeconds: 10
64
Sylvain Desbureaux70070412020-11-09 21:58:48 +010065resources:
66 small:
67 limits:
68 cpu: 2
69 memory: 4Gi
70 requests:
71 cpu: 0.5
72 memory: 1Gi
73 large:
74 limits:
75 cpu: 4
76 memory: 8Gi
77 requests:
78 cpu: 1
79 memory: 1536Mi
80 unlimited: {}
farida azmyd8937332021-03-09 12:20:42 +020081
82#Pods Service Account
83serviceAccount:
84 nameOverride: aai-modelloader
85 roles:
86 - read
Maciej Wereskid523d122021-09-21 11:22:13 +020087
Sylvain Desbureaux1e997192021-02-28 14:59:22 +010088# Not fully used for now
89securityContext:
efiacord12c1672023-03-23 12:10:50 +000090 user_id: 1000
91 group_id: 1000
Sylvain Desbureaux1e997192021-02-28 14:59:22 +010092
Maciej Wereskid523d122021-09-21 11:22:13 +020093#Log configuration
94log:
95 path: /var/log/onap
96logConfigMapNamePrefix: '{{ include "common.fullname" . }}'