Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / multicloud / components / multicloud-k8s / values.yaml
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
20   persistence: {}
21   artifactImage: onap/multicloud/framework-artifactbroker:1.9.0
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   # *************************************************
31
32 #################################################################
33 # Application configuration defaults.
34 #################################################################
35 # application image
36 image: onap/multicloud/k8s:0.10.1
37 pullPolicy: Always
38
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]
49
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:
75   type: NodePort
76   internalPort: 9015
77   ports:
78     - name: http
79       port: 9015
80       nodePort: '98'
81       useNodePortExt: true
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
102
103 #Mongo chart overrides for k8splugin
104 mongodb:
105   nameOverride: multicloud-k8s-mongo
106   service:
107     nameOverride: multicloud-k8s-mongo
108     port: 27017
109   auth:
110     enabled: false
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:
131     small:
132       limits:
133         cpu: "100m"
134         memory: "300Mi"
135       requests:
136         cpu: "10m"
137         memory: "70Mi"
138     large:
139       limits:
140         cpu: "200m"
141         memory: "1Gi"
142       requests:
143         cpu: "50m"
144         memory: "300Mi"
145     unlimited: {}
146
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
157 artifactbroker:
158   internalPort: 9014
159
160 # Configure resource requests and limits
161 flavor: large
162 resources:
163   small:
164     limits:
165       cpu: "200m"
166       memory: "500Mi"
167     requests:
168       cpu: "10m"
169       memory: "10Mi"
170   large:
171     limits:
172       cpu: "400m"
173       memory: "1Gi"
174     requests:
175       cpu: "10m"
176       memory: "100Mi"
177   unlimited: {}
178
179 #Pods Service Account
180 serviceAccount:
181   nameOverride: multicloud-k8s
182   roles:
183     - read