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 |
wr148d | 702d68a | 2022-10-20 18:26:54 -0400 | [diff] [blame] | 28 | image: onap/babel:1.11.0 |
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 |
osk11461 | 27fd7d8 | 2021-06-18 00:51:17 +0200 | [diff] [blame] | 59 | portName: http |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 60 | externalPort: 9516 |
| 61 | internalPort: 9516 |
| 62 | nodePort: 79 |
| 63 | |
| 64 | ingress: |
| 65 | enabled: false |
| 66 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 67 | - baseaddr: "aai-babel-api" |
Sylvain Desbureaux | 7007041 | 2020-11-09 21:58:48 +0100 | [diff] [blame] | 68 | name: "aai-babel" |
| 69 | port: 9516 |
| 70 | config: |
| 71 | ssl: "redirect" |
| 72 | |
| 73 | resources: |
| 74 | small: |
| 75 | limits: |
| 76 | cpu: 2 |
| 77 | memory: 4Gi |
| 78 | requests: |
| 79 | cpu: 0.5 |
| 80 | memory: 1Gi |
| 81 | large: |
| 82 | limits: |
| 83 | cpu: 4 |
| 84 | memory: 8Gi |
| 85 | requests: |
| 86 | cpu: 2 |
| 87 | memory: 2Gi |
| 88 | unlimited: {} |
farida azmy | d893733 | 2021-03-09 12:20:42 +0200 | [diff] [blame] | 89 | |
| 90 | #Pods Service Account |
| 91 | serviceAccount: |
| 92 | nameOverride: aai-babel |
| 93 | roles: |
| 94 | - read |
Maciej Wereski | d523d12 | 2021-09-21 11:22:13 +0200 | [diff] [blame] | 95 | |
| 96 | #Log configuration |
| 97 | log: |
| 98 | path: /var/log/onap |
| 99 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |