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