[COMMON] Harmonize resource settings
[oom.git] / kubernetes / so / components / so-ve-vnfm-adapter / values.yaml
1 # Copyright © 2020 Samsung
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 # Global configuration defaults.
16 #################################################################
17 global:
18   persistence:
19     mountPath: /dockerdata-nfs
20
21 readinessCheck:
22   wait_for:
23     - aai
24     - message-router
25
26 #################################################################
27 # Application configuration defaults.
28 #################################################################
29 image: onap/so/ve-vnfm-adapter:1.6.4
30 pullPolicy: Always
31 replicaCount: 1
32 service:
33   name: ve-vnfm-adapter
34   type: ClusterIP
35   annotations:
36     msb.onap.org/service-info: |
37       {{ if not .Values.global.msbDisabled -}}[
38         {
39           "serviceName": "{{ include "common.servicename" . }}",
40           "version": "v1",
41           "url": "/",
42           "protocol": "REST",
43           "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}",
44           "visualRange": "1"
45         }
46       ]{{ end }}
47   ports:
48     - name: http
49       port: 9098
50
51 flavor: small
52 resources:
53   small:
54     limits:
55       cpu: "1"
56       memory: "1Gi"
57     requests:
58       cpu: "0.5"
59       memory: "1Gi"
60   large:
61     limits:
62       cpu: "2"
63       memory: "2Gi"
64     requests:
65       cpu: "1"
66       memory: "2Gi"
67   unlimited: {}
68 livenessProbe:
69   port: 9098
70   initialDelaySeconds: 600
71   periodSeconds: 60
72   timeoutSeconds: 10
73   successThreshold: 1
74   failureThreshold: 3
75 nodeSelector: {}
76 tolerations: []
77 affinity: {}
78
79 serviceMesh:
80   authorizationPolicy:
81     authorizedPrincipals:
82       - serviceAccount: so-read
83
84 #Pods Service Account
85 serviceAccount:
86   nameOverride: so-ve-vnfm-adapter
87   roles:
88     - read