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