vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 1 | # Copyright © 2017 Amdocs, Bell Canada |
Durgpal | 7ad4069 | 2018-08-03 07:28:36 +0000 | [diff] [blame] | 2 | # Modifications Copyright © 2018 AT&T |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +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. |
| 15 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 16 | ################################################################# |
| 17 | # Global configuration defaults. |
| 18 | ################################################################# |
| 19 | global: |
| 20 | nodePortPrefix: 302 |
Jerome Doucerain | d18576b | 2018-03-17 14:21:42 -0400 | [diff] [blame] | 21 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 22 | ################################################################# |
| 23 | # Application configuration defaults. |
| 24 | ################################################################# |
| 25 | # application image |
su622b | a386565 | 2020-03-25 17:26:51 -0400 | [diff] [blame] | 26 | image: onap/dmaap/dmaap-mr:1.1.18 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 27 | pullPolicy: Always |
| 28 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 29 | kafka: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 30 | name: message-router-kafka |
| 31 | port: 9092 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 32 | zookeeper: |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 33 | name: message-router-zookeeper |
| 34 | port: 2181 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 35 | |
| 36 | # flag to enable debugging - application support required |
| 37 | debugEnabled: false |
| 38 | |
| 39 | # application configuration |
Dominic Lunanuova | 1ba2b25 | 2018-04-30 19:01:31 +0000 | [diff] [blame] | 40 | config: {} |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 41 | |
| 42 | # default number of instances |
| 43 | replicaCount: 1 |
| 44 | |
| 45 | nodeSelector: {} |
| 46 | |
| 47 | affinity: {} |
| 48 | |
| 49 | # probe configuration parameters |
| 50 | liveness: |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 51 | initialDelaySeconds: 70 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 52 | periodSeconds: 10 |
su622b | 8b763cd | 2019-10-14 15:37:37 -0400 | [diff] [blame] | 53 | timeoutSeconds: 1 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 54 | # necessary to disable liveness probe when setting breakpoints |
| 55 | # in debugger so K8s doesn't restart unresponsive container |
Sylvain Desbureaux | be72888 | 2020-03-06 08:58:23 +0100 | [diff] [blame] | 56 | port: api |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 57 | enabled: true |
| 58 | |
| 59 | readiness: |
sunil unnava | b96a391 | 2018-12-06 09:50:39 -0500 | [diff] [blame] | 60 | initialDelaySeconds: 70 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 61 | periodSeconds: 10 |
su622b | 8b763cd | 2019-10-14 15:37:37 -0400 | [diff] [blame] | 62 | timeoutSeconds: 1 |
Sylvain Desbureaux | be72888 | 2020-03-06 08:58:23 +0100 | [diff] [blame] | 63 | port: api |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 64 | |
| 65 | service: |
| 66 | type: NodePort |
| 67 | name: message-router |
Sylvain Desbureaux | be72888 | 2020-03-06 08:58:23 +0100 | [diff] [blame] | 68 | both_tls_and_plain: true |
| 69 | msb: |
gummar | a72e6de | 2020-03-12 11:15:56 +0000 | [diff] [blame] | 70 | - port: 3904 |
| 71 | url: "/" |
| 72 | version: "v1" |
| 73 | protocol: "REST" |
| 74 | visualRange: "1" |
Sylvain Desbureaux | be72888 | 2020-03-06 08:58:23 +0100 | [diff] [blame] | 75 | ports: |
| 76 | - name: api |
| 77 | port: 3905 |
| 78 | plain_port: 3904 |
| 79 | port_protocol: http |
| 80 | nodePort: 26 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 81 | |
su622b | a386565 | 2020-03-25 17:26:51 -0400 | [diff] [blame] | 82 | prometheus: |
| 83 | jmx: |
| 84 | enabled: false |
| 85 | image: solsson/kafka-prometheus-jmx-exporter@sha256 |
| 86 | imageTag: 6f82e2b0464f50da8104acd7363fb9b995001ddff77d248379f8788e78946143 |
su622b | a386565 | 2020-03-25 17:26:51 -0400 | [diff] [blame] | 87 | port: 5556 |
| 88 | targetPort: 5555 |
| 89 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 90 | ingress: |
| 91 | enabled: false |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 92 | service: |
| 93 | - baseaddr: "mr.api" |
| 94 | name: "message-router" |
| 95 | port: 3905 |
| 96 | config: |
Sylvain Desbureaux | 12b1833 | 2020-05-06 15:21:31 +0200 | [diff] [blame] | 97 | ssl: "redirect" |
Lucjan Bryndza | 0564965 | 2020-04-29 08:52:33 +0000 | [diff] [blame] | 98 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 99 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 100 | # Resource Limit flavor -By Default using small |
| 101 | flavor: small |
| 102 | # Segregation for Different environment (Small and Large) |
| 103 | resources: |
| 104 | small: |
| 105 | limits: |
| 106 | cpu: 2000m |
| 107 | memory: 4Gi |
| 108 | requests: |
| 109 | cpu: 500m |
| 110 | memory: 1Gi |
| 111 | large: |
| 112 | limits: |
| 113 | cpu: 4000m |
| 114 | memory: 8Gi |
| 115 | requests: |
| 116 | cpu: 1000m |
| 117 | memory: 2Gi |
| 118 | unlimited: {} |