Prateekinlinux | 445a18e | 2018-08-01 06:48:33 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada , ZTE |
Sylvain Desbureaux | 55af648 | 2020-11-02 18:21:11 +0100 | [diff] [blame] | 2 | # Copyright © 2021 Orange |
Prateekinlinux | 445a18e | 2018-08-01 06:48:33 +0000 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefix: 302 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 20 | |
| 21 | ################################################################# |
| 22 | # Application configuration defaults. |
| 23 | ################################################################# |
| 24 | # application image |
jinquanni | 1f658fd | 2023-04-17 15:53:12 +0800 | [diff] [blame] | 25 | image: onap/msb/msb_apigateway:1.6.0 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 26 | pullPolicy: Always |
Huabing Zhao | 81b8976 | 2018-07-30 06:33:03 +0000 | [diff] [blame] | 27 | istioSidecar: true |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 28 | |
| 29 | # application configuration |
| 30 | config: |
| 31 | routeLabels: "visualRange:1" |
| 32 | |
| 33 | # default number of instances |
| 34 | replicaCount: 1 |
| 35 | |
| 36 | nodeSelector: {} |
| 37 | |
| 38 | affinity: {} |
| 39 | |
| 40 | # probe configuration parameters |
| 41 | liveness: |
| 42 | initialDelaySeconds: 10 |
| 43 | periodSeconds: 10 |
| 44 | # necessary to disable liveness probe when setting breakpoints |
| 45 | # in debugger so K8s doesn't restart unresponsive container |
| 46 | enabled: true |
| 47 | |
| 48 | readiness: |
| 49 | initialDelaySeconds: 10 |
| 50 | periodSeconds: 10 |
| 51 | |
| 52 | service: |
| 53 | type: NodePort |
| 54 | name: msb-iag |
Andreas Geissler | 8d87db2 | 2022-09-15 21:14:00 +0200 | [diff] [blame] | 55 | # for liveness and readiness probe only |
| 56 | # internalPort: |
vladimir turok | d804418 | 2023-07-27 16:28:36 +0200 | [diff] [blame] | 57 | internalPort: 80 |
Andreas Geissler | 8d87db2 | 2022-09-15 21:14:00 +0200 | [diff] [blame] | 58 | ports: |
| 59 | - name: msb-iag |
vladimir turok | d804418 | 2023-07-27 16:28:36 +0200 | [diff] [blame] | 60 | port: 80 |
Andreas Geissler | 8d87db2 | 2022-09-15 21:14:00 +0200 | [diff] [blame] | 61 | port_protocol: http |
| 62 | nodePort: '83' |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 63 | |
| 64 | ingress: |
| 65 | enabled: false |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 66 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 67 | - baseaddr: "msb-iag-ui" |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 68 | name: "msb-iag" |
vladimir turok | d804418 | 2023-07-27 16:28:36 +0200 | [diff] [blame] | 69 | port: 80 |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 70 | config: |
| 71 | ssl: "redirect" |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 72 | |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 73 | # Resource Limit flavor -By Default using small |
| 74 | flavor: small |
| 75 | # Segregation for Different environment (Small and Large) |
| 76 | resources: |
| 77 | small: |
| 78 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 79 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 80 | memory: "500Mi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 81 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 82 | cpu: "0.5" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 83 | memory: "500Mi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 84 | large: |
| 85 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 86 | cpu: "2" |
| 87 | memory: "1Gi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 88 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 89 | cpu: "1" |
| 90 | memory: "1Gi" |
Huabing Zhao | 0f176a0 | 2019-03-18 19:31:45 +0800 | [diff] [blame] | 91 | unlimited: {} |
farida azmy | a4478e8 | 2021-10-11 13:48:11 +0200 | [diff] [blame] | 92 | |
| 93 | #Pods Service Account |
| 94 | serviceAccount: |
| 95 | nameOverride: msb-iag |
| 96 | roles: |
| 97 | - read |
Maciej Wereski | 0763e6e | 2021-11-18 11:48:25 +0100 | [diff] [blame] | 98 | |
| 99 | #Logs configuration |
| 100 | log: |
| 101 | path: /var/log/onap |
| 102 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |