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