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 |
efiacor | fe8f8c9 | 2022-03-15 15:36:48 +0000 | [diff] [blame] | 3 | # Modifications Copyright © 2021-2022 Nordix Foundation |
vaibhav_16dec | e04b2fe | 2018-03-22 09:07:12 +0000 | [diff] [blame] | 4 | # |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 17 | ################################################################# |
| 18 | # Global configuration defaults. |
| 19 | ################################################################# |
| 20 | global: |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 21 | persistence: {} |
Sylvain Desbureaux | e5b6ffc | 2021-02-10 12:11:53 +0100 | [diff] [blame] | 22 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 23 | ################################################################# |
| 24 | # Application configuration defaults. |
| 25 | ################################################################# |
| 26 | # application image |
efiacor | 501c7b6 | 2023-04-25 14:52:01 +0100 | [diff] [blame] | 27 | image: onap/dmaap/dmaap-mr:1.4.4 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 28 | pullPolicy: Always |
| 29 | |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 30 | #Strimzi zookeeper_tunnel config |
| 31 | zkTunnelService: |
| 32 | type: ClusterIP |
| 33 | name: zk-tunnel-svc |
| 34 | portName: tcp-zk-tunnel |
| 35 | protocol: TCP |
| 36 | internalPort: 2181 |
| 37 | logLevel: debug |
| 38 | image: scholzj/zoo-entrance:latest |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 39 | |
| 40 | nodeSelector: {} |
| 41 | |
| 42 | affinity: {} |
| 43 | |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 44 | containerPort: &svc_port 3904 |
| 45 | |
| 46 | service: |
| 47 | type: ClusterIP |
| 48 | name: message-router |
| 49 | ports: |
| 50 | - name: api |
| 51 | port: *svc_port |
| 52 | port_protocol: http |
| 53 | |
| 54 | ingress: |
| 55 | enabled: false |
| 56 | service: |
| 57 | - baseaddr: "dmaap-mr-api" |
| 58 | name: "message-router" |
| 59 | port: *svc_port |
| 60 | config: |
| 61 | ssl: "redirect" |
| 62 | |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 63 | # probe configuration parameters |
| 64 | liveness: |
Sylvain Desbureaux | 8fade99 | 2021-12-06 11:33:11 +0100 | [diff] [blame] | 65 | initialDelaySeconds: 10 |
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 | 8fade99 | 2021-12-06 11:33:11 +0100 | [diff] [blame] | 68 | successThreshold: 1 |
| 69 | failureThreshold: 3 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 70 | # necessary to disable liveness probe when setting breakpoints |
| 71 | # in debugger so K8s doesn't restart unresponsive container |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 72 | port: *svc_port |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 73 | enabled: true |
| 74 | |
| 75 | readiness: |
Sylvain Desbureaux | 8fade99 | 2021-12-06 11:33:11 +0100 | [diff] [blame] | 76 | initialDelaySeconds: 10 |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 77 | periodSeconds: 10 |
su622b | 8b763cd | 2019-10-14 15:37:37 -0400 | [diff] [blame] | 78 | timeoutSeconds: 1 |
Sylvain Desbureaux | 8fade99 | 2021-12-06 11:33:11 +0100 | [diff] [blame] | 79 | successThreshold: 1 |
| 80 | failureThreshold: 3 |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 81 | port: *svc_port |
Sylvain Desbureaux | 8fade99 | 2021-12-06 11:33:11 +0100 | [diff] [blame] | 82 | |
| 83 | startup: |
| 84 | initialDelaySeconds: 10 |
| 85 | periodSeconds: 10 |
| 86 | timeoutSeconds: 1 |
| 87 | successThreshold: 1 |
| 88 | failureThreshold: 70 |
efiacor | 2123fec | 2022-12-09 13:40:55 +0000 | [diff] [blame] | 89 | port: *svc_port |
pramod | ad6382f | 2018-03-28 22:32:00 +0000 | [diff] [blame] | 90 | |
Prateekinlinux | 9f5dc04 | 2018-09-20 14:08:54 +0000 | [diff] [blame] | 91 | # Resource Limit flavor -By Default using small |
| 92 | flavor: small |
| 93 | # Segregation for Different environment (Small and Large) |
| 94 | resources: |
| 95 | small: |
| 96 | limits: |
| 97 | cpu: 2000m |
| 98 | memory: 4Gi |
| 99 | requests: |
| 100 | cpu: 500m |
| 101 | memory: 1Gi |
| 102 | large: |
| 103 | limits: |
| 104 | cpu: 4000m |
| 105 | memory: 8Gi |
| 106 | requests: |
| 107 | cpu: 1000m |
| 108 | memory: 2Gi |
| 109 | unlimited: {} |
farida azmy | 13388ba | 2021-03-17 11:33:28 +0200 | [diff] [blame] | 110 | |
| 111 | #Pods Service Account |
| 112 | serviceAccount: |
| 113 | nameOverride: message-router |
| 114 | roles: |
| 115 | - read |