[CONSUL] Add limits to consul chart.
[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   repository: nexus3.onap.org:10001
19   readinessImage: onap/oom/readiness:3.0.1
20   aafAgentImage: onap/aaf/aaf_agent:2.1.20
21   envsubstImage: dibi/envsubst
22   persistence:
23     mountPath: /dockerdata-nfs
24
25 #################################################################
26 # Application configuration defaults.
27 #################################################################
28 image: onap/so/ve-vnfm-adapter:1.6.4
29 pullPolicy: Always
30 replicaCount: 1
31 service:
32   name: ve-vnfm-adapter
33   type: ClusterIP
34   annotations:
35     msb.onap.org/service-info: |
36       {{ if not .Values.global.msbDisabled -}}[
37         {
38           "serviceName": "{{ include "common.servicename" . }}",
39           "version": "v1",
40           "url": "/",
41           "protocol": "REST",
42           "port": "{{ include "common.getPort" (dict "global" . "name" "http") }}",
43           "visualRange": "1"
44         }
45       ]{{ end }}
46   ports:
47     - name: http
48       port: 9098
49
50 #################################################################
51 # soHelpers part
52 #################################################################
53 soHelpers:
54   nameOverride: so-vevnfm-cert-init
55   certInitializer:
56     nameOverride: so-vevnfm-cert-init
57     credsPath: /opt/app/osaaf/local
58
59 flavor: small
60 resources:
61   small:
62     limits:
63       memory: 512Mi
64       cpu: 500m
65     requests:
66       memory: 256Mi
67       cpu: 250m
68   large:
69     limits:
70       memory: 8Gi
71       cpu: 4000m
72     requests:
73       memory: 2Gi
74       cpu: 1000m
75   unlimited: {}
76 livenessProbe:
77   port: 9098
78   initialDelaySeconds: 600
79   periodSeconds: 60
80   timeoutSeconds: 10
81   successThreshold: 1
82   failureThreshold: 3
83 nodeSelector: {}
84 tolerations: []
85 affinity: {}