Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 1 | # Copyright 2019 Intel Corporation, Inc |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | ################################################################# |
| 16 | # Global configuration defaults. |
| 17 | ################################################################# |
| 18 | global: |
| 19 | nodePortPrefixExt: 304 |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 20 | persistence: {} |
efiacor | c8c3316 | 2022-11-25 11:36:52 +0000 | [diff] [blame] | 21 | artifactImage: onap/multicloud/framework-artifactbroker:1.9.0 |
Andreas Geissler | cde4a78 | 2024-02-28 16:08:06 +0100 | [diff] [blame] | 22 | # Docker Repository used by RepositoryGenerator |
| 23 | dockerHubRepository: docker.io |
| 24 | # Additions for MongoDB**************************** |
| 25 | # If dockerHubRepository is changes the following entry needs |
| 26 | # to be changed as well |
| 27 | imageRegistry: docker.io |
| 28 | imagePullSecrets: |
| 29 | - '{{ include "common.names.namespace" . }}-docker-registry-key' |
| 30 | # ************************************************* |
Sylvain Desbureaux | 37dc40c | 2020-11-21 22:46:57 +0100 | [diff] [blame] | 31 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 32 | ################################################################# |
| 33 | # Application configuration defaults. |
| 34 | ################################################################# |
| 35 | # application image |
Lukasz Rajewski | c8d7aac | 2022-04-12 18:47:25 +0200 | [diff] [blame] | 36 | image: onap/multicloud/k8s:0.10.1 |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 37 | pullPolicy: Always |
| 38 | |
david.mcweeney | 2886a11 | 2023-02-10 12:35:20 +0000 | [diff] [blame] | 39 | # Strimzi KafkaUser config |
| 40 | kafkaUser: |
| 41 | acls: |
| 42 | - name: multicloud |
| 43 | type: group |
| 44 | operations: [Read] |
| 45 | - name: SDC-DISTR |
| 46 | type: topic |
| 47 | patternType: prefix |
| 48 | operations: [Read, Write] |
efiacor | c8c3316 | 2022-11-25 11:36:52 +0000 | [diff] [blame] | 49 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 50 | # flag to enable debugging - application support required |
| 51 | debugEnabled: false |
| 52 | |
| 53 | # application configuration is via config files |
| 54 | |
| 55 | # default number of instances |
| 56 | replicaCount: 1 |
| 57 | |
| 58 | nodeSelector: {} |
| 59 | |
| 60 | affinity: {} |
| 61 | |
| 62 | # probe configuration parameters |
| 63 | liveness: |
| 64 | initialDelaySeconds: 10 |
| 65 | periodSeconds: 30 |
| 66 | # necessary to disable liveness probe when setting breakpoints |
| 67 | # in debugger so K8s doesn't restart unresponsive container |
| 68 | enabled: true |
| 69 | |
| 70 | readiness: |
| 71 | initialDelaySeconds: 10 |
| 72 | periodSeconds: 30 |
| 73 | |
| 74 | service: |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 75 | type: NodePort |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 76 | internalPort: 9015 |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 77 | ports: |
| 78 | - name: http |
| 79 | port: 9015 |
| 80 | nodePort: '98' |
Andreas Geissler | aeb99f4 | 2023-06-28 10:29:00 +0200 | [diff] [blame] | 81 | useNodePortExt: true |
Andreas Geissler | 718fb74 | 2023-03-09 09:44:02 +0100 | [diff] [blame] | 82 | annotations: |
| 83 | msb.onap.org/service-info: | |
| 84 | {{ if .Values.global.msbEnabled -}}[ |
| 85 | { |
| 86 | "serviceName": "multicloud-k8s", |
| 87 | "version": "v1", |
| 88 | "url": "/", |
| 89 | "protocol": "REST", |
| 90 | "port": "{{ .Values.service.internalPort }}", |
| 91 | "enable_ssl": false, |
| 92 | "visualRange": "1" |
| 93 | } |
| 94 | ]{{ end }} |
| 95 | |
| 96 | ingress: |
| 97 | enabled: false |
| 98 | service: |
| 99 | - baseaddr: 'multicloud-k8s-api' |
| 100 | name: 'multicloud-k8s' |
| 101 | port: 9015 |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 102 | |
| 103 | #Mongo chart overrides for k8splugin |
Andreas Geissler | cde4a78 | 2024-02-28 16:08:06 +0100 | [diff] [blame] | 104 | mongodb: |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 105 | nameOverride: multicloud-k8s-mongo |
| 106 | service: |
Andreas Geissler | cde4a78 | 2024-02-28 16:08:06 +0100 | [diff] [blame] | 107 | nameOverride: multicloud-k8s-mongo |
| 108 | port: 27017 |
| 109 | auth: |
| 110 | enabled: false |
Andreas Geissler | 808e3eb | 2024-03-18 12:05:51 +0100 | [diff] [blame] | 111 | resources: |
| 112 | limits: |
| 113 | cpu: "2" |
| 114 | memory: "2Gi" |
| 115 | requests: |
| 116 | cpu: "500m" |
| 117 | memory: "2Gi" |
| 118 | |
| 119 | #etcd chart overrides for k8splugin |
| 120 | etcd: |
| 121 | nameOverride: multicloud-k8s-etcd |
| 122 | service: |
| 123 | name: multicloud-k8s-etcd |
| 124 | clientPortName: tcp-etcd-client |
| 125 | peerPortName: tcp-etcd-server |
| 126 | persistence: |
| 127 | mountSubPath: multicloud-k8s/etcd/data |
| 128 | enabled: true |
| 129 | flavor: large |
| 130 | resources: |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 131 | small: |
| 132 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 133 | cpu: "100m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 134 | memory: "300Mi" |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 135 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 136 | cpu: "10m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 137 | memory: "70Mi" |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 138 | large: |
| 139 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 140 | cpu: "200m" |
| 141 | memory: "1Gi" |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 142 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 143 | cpu: "50m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 144 | memory: "300Mi" |
Konrad Bańka | 1074079 | 2020-09-11 17:04:51 +0200 | [diff] [blame] | 145 | unlimited: {} |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 146 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 147 | |
| 148 | # No persistence right now as we rely on Mongo to handle that |
| 149 | persistence: |
| 150 | enabled: false |
| 151 | volumeReclaimPolicy: Retain |
| 152 | accessMode: ReadWriteOnce |
| 153 | size: 1Gi |
| 154 | mountPath: /dockerdata-nfs |
| 155 | mountSubPath: multicloud-k8s/data |
| 156 | |
liboNet | 80f587a | 2019-05-17 01:30:16 +0800 | [diff] [blame] | 157 | artifactbroker: |
| 158 | internalPort: 9014 |
| 159 | |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 160 | # Configure resource requests and limits |
| 161 | flavor: large |
| 162 | resources: |
| 163 | small: |
| 164 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 165 | cpu: "200m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 166 | memory: "500Mi" |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 167 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 168 | cpu: "10m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 169 | memory: "10Mi" |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 170 | large: |
| 171 | limits: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 172 | cpu: "400m" |
| 173 | memory: "1Gi" |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 174 | requests: |
Andreas Geissler | 4753743 | 2024-02-27 08:55:23 +0100 | [diff] [blame] | 175 | cpu: "10m" |
Andreas Geissler | 8cbb3d9 | 2024-03-12 16:44:56 +0100 | [diff] [blame] | 176 | memory: "100Mi" |
Kiran Kamineni | e2ba7c8 | 2019-04-22 17:52:13 -0700 | [diff] [blame] | 177 | unlimited: {} |
farida azmy | 7251355 | 2021-10-12 18:55:21 +0200 | [diff] [blame] | 178 | |
| 179 | #Pods Service Account |
| 180 | serviceAccount: |
| 181 | nameOverride: multicloud-k8s |
| 182 | roles: |
| 183 | - read |