Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada, AT&T |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 2 | # Modifications Copyright © 2020-2021 Orange |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame^] | 3 | # Modifications Copyright © 2023 Nordix Foundation |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 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 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 23 | # application image |
david.mcweeney | c87dbc3 | 2022-11-23 12:59:04 +0000 | [diff] [blame] | 24 | image: onap/model-loader:1.12.0 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 25 | pullPolicy: Always |
| 26 | restartPolicy: Always |
| 27 | flavor: small |
| 28 | flavorOverride: small |
david.mcweeney | c87dbc3 | 2022-11-23 12:59:04 +0000 | [diff] [blame] | 29 | |
efiacor | 7373ad2 | 2023-01-04 10:56:27 +0000 | [diff] [blame] | 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] |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 40 | |
| 41 | # default number of instances |
| 42 | replicaCount: 1 |
| 43 | |
Rommel Pawar | 63db716 | 2022-11-16 10:11:24 -0800 | [diff] [blame] | 44 | updateStrategy: |
| 45 | type: RollingUpdate |
| 46 | maxUnavailable: 0 |
| 47 | maxSurge: 1 |
| 48 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 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 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 65 | resources: |
| 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 azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 81 | |
| 82 | #Pods Service Account |
| 83 | serviceAccount: |
| 84 | nameOverride: aai-modelloader |
| 85 | roles: |
| 86 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 87 | |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 88 | # Not fully used for now |
| 89 | securityContext: |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame^] | 90 | user_id: 1000 |
| 91 | group_id: 1000 |
Sylvain Desbureaux | 1e99719 | 2021-02-28 14:59:22 +0100 | [diff] [blame] | 92 | |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 93 | #Log configuration |
| 94 | log: |
| 95 | path: /var/log/onap |
| 96 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |