blob: 5c9c0ad8646981e5b31fdf96ebd21a8c6fc1980d [file] [log] [blame]
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -07001# 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#################################################################
18global:
19 nodePortPrefixExt: 304
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070020 persistence: {}
efiacorc8c33162022-11-25 11:36:52 +000021 artifactImage: onap/multicloud/framework-artifactbroker:1.9.0
Andreas Geisslercde4a782024-02-28 16:08:06 +010022 # 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 Desbureaux37dc40c2020-11-21 22:46:57 +010031
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070032#################################################################
33# Application configuration defaults.
34#################################################################
35# application image
Lukasz Rajewskic8d7aac2022-04-12 18:47:25 +020036image: onap/multicloud/k8s:0.10.1
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070037pullPolicy: Always
38
david.mcweeney2886a112023-02-10 12:35:20 +000039# Strimzi KafkaUser config
40kafkaUser:
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]
efiacorc8c33162022-11-25 11:36:52 +000049
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070050# flag to enable debugging - application support required
51debugEnabled: false
52
53# application configuration is via config files
54
55# default number of instances
56replicaCount: 1
57
58nodeSelector: {}
59
60affinity: {}
61
62# probe configuration parameters
63liveness:
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
70readiness:
71 initialDelaySeconds: 10
72 periodSeconds: 30
73
74service:
Andreas Geissler718fb742023-03-09 09:44:02 +010075 type: NodePort
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070076 internalPort: 9015
Andreas Geissler718fb742023-03-09 09:44:02 +010077 ports:
78 - name: http
79 port: 9015
80 nodePort: '98'
Andreas Geissleraeb99f42023-06-28 10:29:00 +020081 useNodePortExt: true
Andreas Geissler718fb742023-03-09 09:44:02 +010082 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
96ingress:
97 enabled: false
98 service:
99 - baseaddr: 'multicloud-k8s-api'
100 name: 'multicloud-k8s'
101 port: 9015
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700102
103#Mongo chart overrides for k8splugin
Andreas Geisslercde4a782024-02-28 16:08:06 +0100104mongodb:
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700105 nameOverride: multicloud-k8s-mongo
106 service:
Andreas Geisslercde4a782024-02-28 16:08:06 +0100107 nameOverride: multicloud-k8s-mongo
108 port: 27017
109 auth:
110 enabled: false
Andreas Geissler808e3eb2024-03-18 12:05:51 +0100111 resources:
112 limits:
113 cpu: "2"
114 memory: "2Gi"
115 requests:
116 cpu: "500m"
117 memory: "2Gi"
118
119#etcd chart overrides for k8splugin
120etcd:
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ńka10740792020-09-11 17:04:51 +0200131 small:
132 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100133 cpu: "100m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100134 memory: "300Mi"
Konrad Bańka10740792020-09-11 17:04:51 +0200135 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100136 cpu: "10m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100137 memory: "70Mi"
Konrad Bańka10740792020-09-11 17:04:51 +0200138 large:
139 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100140 cpu: "200m"
141 memory: "1Gi"
Konrad Bańka10740792020-09-11 17:04:51 +0200142 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100143 cpu: "50m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100144 memory: "300Mi"
Konrad Bańka10740792020-09-11 17:04:51 +0200145 unlimited: {}
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700146
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700147
148# No persistence right now as we rely on Mongo to handle that
149persistence:
150 enabled: false
151 volumeReclaimPolicy: Retain
152 accessMode: ReadWriteOnce
153 size: 1Gi
154 mountPath: /dockerdata-nfs
155 mountSubPath: multicloud-k8s/data
156
liboNet80f587a2019-05-17 01:30:16 +0800157artifactbroker:
158 internalPort: 9014
159
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700160# Configure resource requests and limits
161flavor: large
162resources:
163 small:
164 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100165 cpu: "200m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100166 memory: "500Mi"
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700167 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100168 cpu: "10m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100169 memory: "10Mi"
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700170 large:
171 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100172 cpu: "400m"
173 memory: "1Gi"
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700174 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100175 cpu: "10m"
Andreas Geissler8cbb3d92024-03-12 16:44:56 +0100176 memory: "100Mi"
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700177 unlimited: {}
farida azmy72513552021-10-12 18:55:21 +0200178
179#Pods Service Account
180serviceAccount:
181 nameOverride: multicloud-k8s
182 roles:
183 - read