Prateekinlinux | 445a18e | 2018-08-01 06:48:33 +0000 | [diff] [blame] | 1 | # Copyright © 2018 Amdocs, Bell Canada , ZTE |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 14 | ################################################################# |
| 15 | # Global configuration defaults. |
| 16 | ################################################################# |
| 17 | global: |
| 18 | nodePortPrefix: 302 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 19 | |
| 20 | ################################################################# |
| 21 | # Application configuration defaults. |
| 22 | ################################################################# |
| 23 | # application image |
Sylvain Desbureaux | e59d983 | 2020-11-24 15:44:12 +0000 | [diff] [blame] | 24 | image: onap/msb/msb_apigateway:1.2.7 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 25 | pullPolicy: Always |
Huabing Zhao | 81b8976 | 2018-07-30 06:33:03 +0000 | [diff] [blame] | 26 | istioSidecar: true |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 27 | |
| 28 | # application configuration |
| 29 | config: |
| 30 | routeLabels: "visualRange:0" |
| 31 | |
| 32 | # default number of instances |
| 33 | replicaCount: 1 |
| 34 | |
| 35 | nodeSelector: {} |
| 36 | |
| 37 | affinity: {} |
| 38 | |
| 39 | # probe configuration parameters |
| 40 | liveness: |
| 41 | initialDelaySeconds: 10 |
| 42 | periodSeconds: 10 |
| 43 | # necessary to disable liveness probe when setting breakpoints |
| 44 | # in debugger so K8s doesn't restart unresponsive container |
| 45 | enabled: true |
| 46 | |
| 47 | readiness: |
| 48 | initialDelaySeconds: 10 |
| 49 | periodSeconds: 10 |
| 50 | |
| 51 | service: |
| 52 | type: NodePort |
| 53 | name: msb-eag |
| 54 | externalPort: 80 |
| 55 | internalPort: 80 |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 56 | externalPortHttps: 443 |
| 57 | internalPortHttps: 443 |
| 58 | nodePortHttps: 84 |
| 59 | |
| 60 | ingress: |
| 61 | enabled: false |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 62 | service: |
| 63 | - baseaddr: "msbeag" |
| 64 | name: "msb-eag" |
| 65 | port: 443 |
| 66 | config: |
| 67 | ssl: "redirect" |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 68 | |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 69 | # Resource Limit flavor -By Default using small |
| 70 | flavor: small |
| 71 | # Segregation for Different environment (Small and Large) |
| 72 | resources: |
| 73 | small: |
| 74 | limits: |
| 75 | cpu: 200m |
| 76 | memory: 500Mi |
| 77 | requests: |
| 78 | cpu: 100m |
| 79 | memory: 200Mi |
| 80 | large: |
| 81 | limits: |
| 82 | cpu: 400m |
| 83 | memory: 800Mi |
| 84 | requests: |
| 85 | cpu: 200m |
| 86 | memory: 400Mi |
Huabing Zhao | 0f176a0 | 2019-03-18 19:31:45 +0800 | [diff] [blame] | 87 | unlimited: {} |