Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, AT&T |
| 2 | # Modifications Copyright © 2018 Bell Canada |
Sylvain Desbureaux | 6212bb2 | 2021-01-18 11:43:33 +0100 | [diff] [blame] | 3 | # Modifications Copyright © 2020, 2021 Orange |
efiacor | d12c167 | 2023-03-23 12:10:50 +0000 | [diff] [blame] | 4 | # Modifications Copyright © 2023 Nordix Foundation |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 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 | ################################################################# |
Sylvain Desbureaux | 6212bb2 | 2021-01-18 11:43:33 +0100 | [diff] [blame] | 21 | global: {} |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 22 | |
| 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | |
| 27 | # application image |
nandkishorpatke | 60f33d7 | 2023-11-16 15:16:54 +0530 | [diff] [blame] | 28 | image: onap/babel:1.12.3 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 29 | |
| 30 | flavor: small |
| 31 | flavorOverride: small |
| 32 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 33 | # default number of instances |
| 34 | replicaCount: 1 |
| 35 | |
Rommel Pawar | 63db716 | 2022-11-16 10:11:24 -0800 | [diff] [blame] | 36 | updateStrategy: |
| 37 | type: RollingUpdate |
| 38 | maxUnavailable: 0 |
| 39 | maxSurge: 1 |
| 40 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 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 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 59 | internalPort: 9516 |
Andreas Geissler | 5846a6e | 2023-03-30 17:26:14 +0200 | [diff] [blame] | 60 | ports: |
| 61 | - name: http |
| 62 | port: 9516 |
| 63 | nodePort: 79 |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 64 | |
| 65 | ingress: |
| 66 | enabled: false |
| 67 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 68 | - baseaddr: "aai-babel-api" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 69 | name: "aai-babel" |
| 70 | port: 9516 |
| 71 | config: |
| 72 | ssl: "redirect" |
| 73 | |
AndrewLamb | 0e7c7fe | 2023-05-17 14:13:54 +0100 | [diff] [blame] | 74 | serviceMesh: |
| 75 | authorizationPolicy: |
| 76 | authorizedPrincipals: |
| 77 | - serviceAccount: aai-modelloader-read |
| 78 | - serviceAccount: istio-ingress |
| 79 | namespace: istio-ingress |
| 80 | |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 81 | resources: |
| 82 | small: |
| 83 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 84 | cpu: "1" |
| 85 | memory: "4Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 86 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 87 | cpu: "0.5" |
| 88 | memory: "1Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 89 | large: |
| 90 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 91 | cpu: "4" |
| 92 | memory: "8Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 93 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 94 | cpu: "2" |
| 95 | memory: "2Gi" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 96 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 97 | |
| 98 | #Pods Service Account |
| 99 | serviceAccount: |
| 100 | nameOverride: aai-babel |
| 101 | roles: |
| 102 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 103 | |
| 104 | #Log configuration |
| 105 | log: |
| 106 | path: /var/log/onap |
Fiete Ostkamp | 19c1172 | 2024-05-14 15:50:58 +0200 | [diff] [blame^] | 107 | level: |
| 108 | root: INFO |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 109 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |