blob: a8ccc5ddfc6e388a7477e889874ce155e50ac8f7 [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: {}
Sylvain Desbureaux37dc40c2020-11-21 22:46:57 +010021 artifactImage: onap/multicloud/framework-artifactbroker:1.6.0
22
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070023#################################################################
24# Application configuration defaults.
25#################################################################
26# application image
Lukasz Rajewskif7ded3a2021-02-24 19:22:20 +010027image: onap/multicloud/k8s:0.8.0
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070028pullPolicy: Always
29
30# flag to enable debugging - application support required
31debugEnabled: false
32
33# application configuration is via config files
34
35# default number of instances
36replicaCount: 1
37
38nodeSelector: {}
39
40affinity: {}
41
42# probe configuration parameters
43liveness:
44 initialDelaySeconds: 10
45 periodSeconds: 30
46 # necessary to disable liveness probe when setting breakpoints
47 # in debugger so K8s doesn't restart unresponsive container
48 enabled: true
49
50readiness:
51 initialDelaySeconds: 10
52 periodSeconds: 30
53
54service:
55 type: ClusterIP
56 name: multicloud-k8s
57 portName: multicloud-k8s
58 internalPort: 9015
59 externalPort: 9015
60 nodePort: 98
61
62#Mongo chart overrides for k8splugin
63mongo:
64 nameOverride: multicloud-k8s-mongo
65 service:
66 name: multicloud-k8s-mongo
67 internalPort: 27017
68 nfsprovisionerPrefix: multicloud-k8s
69 sdnctlPrefix: multicloud-k8s
70 persistence:
71 mountSubPath: multicloud-k8s/mongo/data
72 enabled: true
73 disableNfsProvisioner: true
Konrad Bańka10740792020-09-11 17:04:51 +020074 flavor: &storage_flavor large
75 resources: &storage_resources
76 small:
77 limits:
78 cpu: 100m
79 memory: 300Mi
80 requests:
81 cpu: 10m
82 memory: 75Mi
83 large:
84 limits:
85 cpu: 200m
86 memory: 1Gi
87 requests:
88 cpu: 50m
89 memory: 300Mi
90 unlimited: {}
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070091
Kiran Kamineni068a2db2019-05-20 17:22:36 -070092#etcd chart overrides for k8splugin
93etcd:
94 nameOverride: multicloud-k8s-etcd
95 service:
96 name: multicloud-k8s-etcd
97 persistence:
98 mountSubPath: multicloud-k8s/etcd/data
99 enabled: true
Konrad Bańka10740792020-09-11 17:04:51 +0200100 flavor: *storage_flavor
101 resources: *storage_resources
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700102
103# No persistence right now as we rely on Mongo to handle that
104persistence:
105 enabled: false
106 volumeReclaimPolicy: Retain
107 accessMode: ReadWriteOnce
108 size: 1Gi
109 mountPath: /dockerdata-nfs
110 mountSubPath: multicloud-k8s/data
111
112ingress:
113 enabled: false
114
liboNet80f587a2019-05-17 01:30:16 +0800115artifactbroker:
116 internalPort: 9014
117
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700118# Configure resource requests and limits
119flavor: large
120resources:
121 small:
122 limits:
123 cpu: 200m
124 memory: 500Mi
125 requests:
126 cpu: 10m
127 memory: 10Mi
128 large:
129 limits:
130 cpu: 400m
131 memory: 1Gi
132 requests:
133 cpu: 10m
134 memory: 100Mi
135 unlimited: {}