aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorEric Debeau <eric.debeau@orange.com>2018-11-10 13:29:22 +0000
committerEric Debeau <eric.debeau@orange.com>2018-11-19 20:01:40 +0000
commit9d972294b47a7c2d2e359082979dcc92dbd81668 (patch)
tree625d91c1765b66dba9e78039d1547528073807af /kubernetes
parent65cbd7be6460a804b784a5052a904e0a39faab6b (diff)
Create a minimal environment file
This override file is used to deploy a minmal configuration to onboard and deploy a VNF. It includes the following components: A&AI, DMAAP, Portal, Robot, SDC, SDNC, SO, VID Some additional optimisations are set: - replica set to one - JVM reduced size - resource requests reduced Patch2 corrects: - remove trailing white-space - add all components with true:enabled Patch3 corrects - remane file name to minimal-onap.yaml - remove oom-casa.txt introduced by error in patch2 Patch 4 corrects - put enabled:true all components to be deployed Change-Id: Iddf9b49a4af1567c5f9fdbb3e603a60428b56ca9 Issue-ID: OOM-1518 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/onap/resources/environments/minimal-onap.yaml175
1 files changed, 175 insertions, 0 deletions
diff --git a/kubernetes/onap/resources/environments/minimal-onap.yaml b/kubernetes/onap/resources/environments/minimal-onap.yaml
new file mode 100644
index 0000000000..e5cb97193f
--- /dev/null
+++ b/kubernetes/onap/resources/environments/minimal-onap.yaml
@@ -0,0 +1,175 @@
+# Copyright © 2017 Amdocs, Bell Canada, Orange
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+# This override file is used to deploy a minmal configuration to
+# to onboard and deploy a VNF.
+# It includes the following components:
+# A&AI, DMAAP, Portal, Robot, SDC, SDNC, SO, VID
+#
+# Minimal resources are also reviewed for the various containers
+# A&AI: no override => to be fixed
+# DMAAP: no override
+# Portal: new values
+# Robot: new values
+# SO: no override
+# SDC: new values
+# SDNC: no override
+# VID: no override
+#
+# Replica are set to 1 (A&AI Cassandra)
+#
+# In addition, some parameters are set to limit the memory footprint
+#
+# It overrides the default ONAP parent chart behaviour to deploy
+# all of ONAP.
+#
+# helm deploy minimal local/onap --namespace onap -f minimal-onap.yaml
+
+#################################################################
+# Minimal ONAP deployment to onboard and deploy a VNF
+#################################################################
+aai:
+ enabled: true
+ global:
+ cassandra:
+ replicas: 1
+ aai-cassandra:
+ replicaCount: 1
+aaf:
+ enabled: false
+appc:
+ enabled: false
+clamp:
+ enabled: false
+cli:
+ enabled: false
+consul:
+ enabled: false
+contrib:
+ enabled: false
+dcaegen2:
+ enabled: false
+dmaap:
+ enabled: true
+esr:
+ enabled: false
+log:
+ enabled: false
+msb:
+ enabled: false
+multicloud:
+ enabled: false
+nbi:
+ enabled: false
+oof:
+ enabled: false
+policy:
+ enabled: false
+pomba:
+ enabled: false
+portal:
+ enabled: true
+ portal-cassandra:
+ config:
+ cassandraJvmOpts: "-Xmx512m -Xms256m"
+ resources:
+ small:
+ limits:
+ cpu: 1
+ memory: 2Gi
+ requests:
+ cpu: 100m
+ memory: 1Gi
+ portal-app:
+ resources:
+ small:
+ limits:
+ cpu: 1
+ memory: 2Gi
+ requests:
+ cpu: 100m
+ memory: 1Gi
+ resources:
+ portal-mariaddb:
+ resources:
+ small:
+ limits:
+ cpu: 800m
+ memory: 1Gi
+ requests:
+ cpu: 100m
+ memory: 500Mi
+ portal-widget:
+ resources:
+ small:
+ limits:
+ cpu: 1
+ memory: 2Gi
+ requests:
+ cpu: 100m
+ memory: 500Mi
+robot:
+ enabled: true
+ config:
+ openStackEncryptedPasswordHere: "$OPENSTACK_ENCRYPTED_PASSWORD"
+ resources:
+ small:
+ limits:
+ cpu: 1
+ memory: 2Gi
+ requests:
+ cpu: 10m
+ memory: 100Mi
+sdc:
+ enabled: true
+ sdc-be:
+ config:
+ javaOptions: "-Xdebug -agentlib:jdwp=transport=dt_socket,address=4000,server=y,suspend=n -Xmx512m -Xms256m"
+ sdc-fe:
+ resources:
+ small:
+ limits:
+ cpu: 1
+ memory: 2Gi
+ requests:
+ cpu: 10m
+ memory: 500Mi
+ sdc-cs:
+ config:
+ maxHeapSize: "512M"
+ heapNewSize: "256M"
+sdnc:
+ enabled: true
+sniro-emulator:
+ enabled: false
+so:
+ enabled: true
+ config:
+ # openstack configuration
+ openStackUserName: "$OPENSTACK_USER_NAME"
+ openStackRegion: "$OPENSTACK_REGION"
+ openStackKeyStoneUrl: "$OPENSTACK_KEYSTONE_URL"
+ openStackServiceTenantName: "$OPENSTACK_TENANT_NAME"
+ openStackEncryptedPasswordHere: "$OPENSTACK_ENCRYPTED_PASSWORD"
+uui:
+ enabled: false
+vid:
+ enabled: true
+vfc:
+ enabled: false
+vnfsdk:
+ enabled: false
+vvp:
+ enabled: false