blob: 3e97c6765cb6066d188cd6aa0833725020b0bc53 [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
Sylvain Desbureaux37dc40c2020-11-21 22:46:57 +010022
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070023#################################################################
24# Application configuration defaults.
25#################################################################
26# application image
Lukasz Rajewskic8d7aac2022-04-12 18:47:25 +020027image: onap/multicloud/k8s:0.10.1
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070028pullPolicy: Always
29
david.mcweeney2886a112023-02-10 12:35:20 +000030# Strimzi KafkaUser config
31kafkaUser:
32 acls:
33 - name: multicloud
34 type: group
35 operations: [Read]
36 - name: SDC-DISTR
37 type: topic
38 patternType: prefix
39 operations: [Read, Write]
efiacorc8c33162022-11-25 11:36:52 +000040
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070041# flag to enable debugging - application support required
42debugEnabled: false
43
44# application configuration is via config files
45
46# default number of instances
47replicaCount: 1
48
49nodeSelector: {}
50
51affinity: {}
52
53# probe configuration parameters
54liveness:
55 initialDelaySeconds: 10
56 periodSeconds: 30
57 # necessary to disable liveness probe when setting breakpoints
58 # in debugger so K8s doesn't restart unresponsive container
59 enabled: true
60
61readiness:
62 initialDelaySeconds: 10
63 periodSeconds: 30
64
65service:
Andreas Geissler718fb742023-03-09 09:44:02 +010066 type: NodePort
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070067 internalPort: 9015
Andreas Geissler718fb742023-03-09 09:44:02 +010068 ports:
69 - name: http
70 port: 9015
71 nodePort: '98'
72 annotations:
73 msb.onap.org/service-info: |
74 {{ if .Values.global.msbEnabled -}}[
75 {
76 "serviceName": "multicloud-k8s",
77 "version": "v1",
78 "url": "/",
79 "protocol": "REST",
80 "port": "{{ .Values.service.internalPort }}",
81 "enable_ssl": false,
82 "visualRange": "1"
83 }
84 ]{{ end }}
85
86ingress:
87 enabled: false
88 service:
89 - baseaddr: 'multicloud-k8s-api'
90 name: 'multicloud-k8s'
91 port: 9015
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070092
93#Mongo chart overrides for k8splugin
94mongo:
95 nameOverride: multicloud-k8s-mongo
96 service:
97 name: multicloud-k8s-mongo
98 internalPort: 27017
99 nfsprovisionerPrefix: multicloud-k8s
100 sdnctlPrefix: multicloud-k8s
101 persistence:
102 mountSubPath: multicloud-k8s/mongo/data
103 enabled: true
104 disableNfsProvisioner: true
Konrad Bańka10740792020-09-11 17:04:51 +0200105 flavor: &storage_flavor large
106 resources: &storage_resources
107 small:
108 limits:
109 cpu: 100m
110 memory: 300Mi
111 requests:
112 cpu: 10m
113 memory: 75Mi
114 large:
115 limits:
116 cpu: 200m
117 memory: 1Gi
118 requests:
119 cpu: 50m
120 memory: 300Mi
121 unlimited: {}
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700122
Kiran Kamineni068a2db2019-05-20 17:22:36 -0700123#etcd chart overrides for k8splugin
124etcd:
125 nameOverride: multicloud-k8s-etcd
126 service:
127 name: multicloud-k8s-etcd
Fiete Ostkamp7044e682023-04-19 13:25:18 +0000128 clientPortName: tcp-etcd-client
129 peerPortName: tcp-etcd-server
Kiran Kamineni068a2db2019-05-20 17:22:36 -0700130 persistence:
131 mountSubPath: multicloud-k8s/etcd/data
132 enabled: true
Konrad Bańka10740792020-09-11 17:04:51 +0200133 flavor: *storage_flavor
134 resources: *storage_resources
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700135
136# No persistence right now as we rely on Mongo to handle that
137persistence:
138 enabled: false
139 volumeReclaimPolicy: Retain
140 accessMode: ReadWriteOnce
141 size: 1Gi
142 mountPath: /dockerdata-nfs
143 mountSubPath: multicloud-k8s/data
144
liboNet80f587a2019-05-17 01:30:16 +0800145artifactbroker:
146 internalPort: 9014
147
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700148# Configure resource requests and limits
149flavor: large
150resources:
151 small:
152 limits:
153 cpu: 200m
154 memory: 500Mi
155 requests:
156 cpu: 10m
157 memory: 10Mi
158 large:
159 limits:
160 cpu: 400m
161 memory: 1Gi
162 requests:
163 cpu: 10m
164 memory: 100Mi
165 unlimited: {}
farida azmy72513552021-10-12 18:55:21 +0200166
167#Pods Service Account
168serviceAccount:
169 nameOverride: multicloud-k8s
170 roles:
171 - read