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 |
jinquanni | aca771f | 2021-09-23 18:49:14 +0800 | [diff] [blame] | 24 | image: onap/msb/msb_discovery:1.3.0 |
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 | |
| 31 | # default number of instances |
| 32 | replicaCount: 1 |
| 33 | |
| 34 | nodeSelector: {} |
| 35 | |
| 36 | affinity: {} |
| 37 | |
| 38 | # probe configuration parameters |
| 39 | liveness: |
| 40 | initialDelaySeconds: 10 |
| 41 | periodSeconds: 10 |
| 42 | # necessary to disable liveness probe when setting breakpoints |
| 43 | # in debugger so K8s doesn't restart unresponsive container |
| 44 | enabled: true |
| 45 | |
| 46 | readiness: |
| 47 | initialDelaySeconds: 10 |
| 48 | periodSeconds: 10 |
| 49 | |
| 50 | service: |
Huabing Zhao | 7be039e | 2019-11-19 14:15:23 +0800 | [diff] [blame] | 51 | type: ClusterIP |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 52 | name: msb-discovery |
| 53 | externalPort: 10081 |
| 54 | internalPort: 10081 |
| 55 | nodePort: 81 |
| 56 | |
| 57 | ingress: |
| 58 | enabled: false |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 59 | service: |
Andreas Geissler | 51900a9 | 2022-08-03 13:10:35 +0200 | [diff] [blame] | 60 | - baseaddr: "msb-discovery-api" |
Lucjan Bryndza | a7228ec | 2019-12-02 15:11:53 +0100 | [diff] [blame] | 61 | name: "msb-discovery" |
| 62 | port: 10081 |
| 63 | config: |
| 64 | ssl: "none" |
BorislavG | 0433c91 | 2018-03-21 18:35:30 +0200 | [diff] [blame] | 65 | |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 66 | # Resource Limit flavor -By Default using small |
| 67 | flavor: small |
| 68 | # Segregation for Different environment (Small and Large) |
| 69 | resources: |
| 70 | small: |
| 71 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 72 | cpu: "1" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame^] | 73 | memory: "500Mi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 74 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 75 | cpu: "0.5" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame^] | 76 | memory: "500Mi" |
vaibhavjayas | fe2140f | 2018-09-21 08:30:57 +0000 | [diff] [blame] | 77 | large: |
| 78 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 79 | cpu: "2" |
| 80 | memory: "1Gi" |
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: "1" |
| 83 | memory: "1Gi" |
Huabing Zhao | 0f176a0 | 2019-03-18 19:31:45 +0800 | [diff] [blame] | 84 | unlimited: {} |
farida azmy | a4478e8 | 2021-10-11 13:48:11 +0200 | [diff] [blame] | 85 | |
| 86 | #Pods Service Account |
| 87 | serviceAccount: |
| 88 | nameOverride: msb-discovery |
| 89 | roles: |
| 90 | - read |
Maciej Wereski | 0763e6e | 2021-11-18 11:48:25 +0100 | [diff] [blame] | 91 | |
| 92 | #Logs configuration |
| 93 | log: |
| 94 | path: /var/log/onap |
| 95 | logConfigMapNamePrefix: '{{ include "common.fullname" . }}' |