[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / onap / resources / environments / core-onap.yaml
1 # Copyright 2020 Samsung Electronics Co., Ltd.
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 # This override file is used to deploy a core configuration. It is based on
17 # minimal-onap.yaml and Orange accomplishments [1][2][3].
18 # It includes the following components:
19 # AAI, DMAAP, SDC, SDNC, SO (+ Cassandra)
20 #
21 # Minimal resources are also reviewed for the various containers
22 # AAI: no override => to be fixed
23 # DMAAP: no override
24 # SO: no override
25 # SDC: new values
26 # SDNC: no override
27 #
28 # Replicas are set to:
29 # AAI Cassandra: 1
30 # Cassandra: 3 (to allow reaching quorum)
31 #
32 # In addition, some parameters are set to limit the memory footprint.
33 #
34 # It overrides the default ONAP parent chart behaviour to deploy
35 # all of ONAP.
36 #
37 # helm deploy core local/onap --namespace onap -f core-onap.yaml
38 #
39 # [1] https://gitlab.com/Orange-OpenSource/lfn/onap/onap_oom_automatic_installation
40 # [2] https://wiki.lfnetworking.org/display/LN/Call%20for%20ONAP%20DDF%20Topics%20-%20Prague%202020#CallforONAPDDFTopics-Prague2020-OOM-IntroductionofServicemesh
41 # [3] https://wiki.lfnetworking.org/download/attachments/25364127/OOM%20Service%20Mesh%20Prague.pptx
42
43 #######################
44 # Core ONAP deployment
45 #######################
46 global:
47   aafEnabled: false
48 aai:
49   enabled: true
50   global:
51     cassandra:
52       replicas: 1
53   aai-cassandra:
54     replicaCount: 1
55 aaf:
56   enabled: false
57 appc:
58   enabled: false
59 cassandra:
60   enabled: true
61   replicaCount: 3
62 clamp:
63   enabled: false
64 cli:
65   enabled: false
66 consul:
67   enabled: false
68 contrib:
69   enabled: false
70 dcaegen2:
71   enabled: false
72 dmaap:
73   enabled: true
74 esr:
75   enabled: false
76 log:
77   enabled: false
78 mariadb-galera:
79   enabled: true
80 msb:
81   enabled: false
82 multicloud:
83   enabled: false
84 nbi:
85   enabled: false
86 oof:
87   enabled: false
88 policy:
89   enabled: false
90 pomba:
91   enabled: false
92 portal:
93   enabled: false
94 robot:
95   enabled: false
96 sdc:
97   enabled: true
98   sdc-be:
99     config:
100       javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=4000,server=y,suspend=n -Xmx512m -Xms256m"
101   sdc-fe:
102     resources:
103       small:
104         limits:
105           cpu: 1
106           memory: 2Gi
107         requests:
108           cpu: 10m
109           memory: 500Mi
110   sdc-cs:
111     config:
112       maxHeapSize: "512M"
113       heapNewSize: "256M"
114 sdnc:
115   enabled: true
116 sniro-emulator:
117   enabled: false
118 so:
119   enabled: true
120   config:
121     # openstack configuration
122     openStackUserName: "$OPENSTACK_USER_NAME"
123     openStackRegion: "$OPENSTACK_REGION"
124     openStackKeyStoneUrl: "$OPENSTACK_KEYSTONE_URL"
125     openStackServiceTenantName: "$OPENSTACK_TENANT_NAME"
126     openStackEncryptedPasswordHere: "$OPENSTACK_ENCRYPTED_PASSWORD"
127 uui:
128   enabled: false
129 vid:
130   enabled: false
131 vfc:
132   enabled: false
133 vnfsdk:
134   enabled: false