blob: 38111cd6a668985ae4f869df3a83a1ab102bd149 [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
111 #nfsprovisionerPrefix: multicloud-k8s
112 #sdnctlPrefix: multicloud-k8s
113 #persistence:
114 # mountSubPath: multicloud-k8s/mongo/data
115 # enabled: true
116 #disableNfsProvisioner: true
Konrad Bańka10740792020-09-11 17:04:51 +0200117 flavor: &storage_flavor large
118 resources: &storage_resources
119 small:
120 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100121 cpu: "100m"
122 memory: "0.3Gi"
Konrad Bańka10740792020-09-11 17:04:51 +0200123 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100124 cpu: "10m"
125 memory: "0.07Gi"
Konrad Bańka10740792020-09-11 17:04:51 +0200126 large:
127 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100128 cpu: "200m"
129 memory: "1Gi"
Konrad Bańka10740792020-09-11 17:04:51 +0200130 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100131 cpu: "50m"
132 memory: "0.3Gi"
Konrad Bańka10740792020-09-11 17:04:51 +0200133 unlimited: {}
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700134
Kiran Kamineni068a2db2019-05-20 17:22:36 -0700135#etcd chart overrides for k8splugin
136etcd:
137 nameOverride: multicloud-k8s-etcd
138 service:
139 name: multicloud-k8s-etcd
Fiete Ostkamp7044e682023-04-19 13:25:18 +0000140 clientPortName: tcp-etcd-client
141 peerPortName: tcp-etcd-server
Kiran Kamineni068a2db2019-05-20 17:22:36 -0700142 persistence:
143 mountSubPath: multicloud-k8s/etcd/data
144 enabled: true
Konrad Bańka10740792020-09-11 17:04:51 +0200145 flavor: *storage_flavor
146 resources: *storage_resources
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"
166 memory: "0.5Gi"
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700167 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100168 cpu: "10m"
169 memory: "0.01Gi"
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"
176 memory: "0.1Gi"
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