aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/onap
diff options
context:
space:
mode:
authorMike Elliott <mike.elliott@amdocs.com>2018-02-12 15:44:57 -0500
committerMike Elliott <mike.elliott@amdocs.com>2018-02-23 15:12:52 -0500
commit799ae16776823e5f12412eab4bd21368480d682e (patch)
treed30872e9fd975d9dbc32fbc6cb59d29817a96f1a /kubernetes/onap
parenta70775c54d244fe769293ea3bba1d99881416e6e (diff)
Add onap parent chart
This is a top-level parent helm chart which deploys customizations of the ONAP platform. The parent ONAP chart represents the start of OOM's move away from the oneclick bash scripts and towards the direct use of Helm to manage configuration and deployment of ONAP. How to deploy onap chart from local oom/kubernetes codebase. ** need to create/update dependencies defined in the chart's ** requirements.yaml helm dep update onap/ ** deploy the onap parent chart (and all referenced subcharts) ** with the "release" name of 'onap' helm install onap/ -n onap Change-Id: I71bee25770bdce82a47bfabb04946bb4fad069a2 Issue-ID: OOM-265 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
Diffstat (limited to 'kubernetes/onap')
-rw-r--r--kubernetes/onap/Chart.yaml9
-rw-r--r--kubernetes/onap/requirements.yaml101
-rw-r--r--kubernetes/onap/resources/environments/onap-demo.yaml60
-rw-r--r--kubernetes/onap/values.yaml105
4 files changed, 275 insertions, 0 deletions
diff --git a/kubernetes/onap/Chart.yaml b/kubernetes/onap/Chart.yaml
new file mode 100644
index 0000000000..db8a30f28e
--- /dev/null
+++ b/kubernetes/onap/Chart.yaml
@@ -0,0 +1,9 @@
+apiVersion: v1
+name: onap
+version: 2.0.0
+appVersion: beijing
+description: Open Network Automation Platform (ONAP)
+home: https://www.onap.org/
+sources:
+- https://gerrit.onap.org/r/#/admin/projects/
+icon: https://wiki.onap.org/download/thumbnails/1015829/onap_704x271%20copy.png?version=1&modificationDate=1488326334000&api=v2
diff --git a/kubernetes/onap/requirements.yaml b/kubernetes/onap/requirements.yaml
new file mode 100644
index 0000000000..8f123128ad
--- /dev/null
+++ b/kubernetes/onap/requirements.yaml
@@ -0,0 +1,101 @@
+# Referencing a named repo called 'local'.
+# Can add this repo by running commands like:
+# > helm serve
+# > helm repo add local http://127.0.0.1:8879
+dependencies:
+ - name: aaf
+ version: ~1.1.0
+ repository: '@local'
+ condition: aaf.enabled
+ - name: aai
+ version: ~0.1.0
+ repository: '@local'
+ condition: aai.enabled
+ - name: appc
+ version: ~0.1.0
+ repository: '@local'
+ condition: appc.enabled
+ - name: clamp
+ version: ~1.1.0
+ repository: '@local'
+ condition: clamp.enabled
+ - name: cli
+ version: ~0.1.0
+ repository: '@local'
+ condition: cli.enabled
+ - name: consul
+ version: ~1.1.0
+ repository: '@local'
+ condition: consul.enabled
+ - name: dcaegen2
+ version: ~1.1.0
+ repository: '@local'
+ condition: dcaegen2.enabled
+ - name: esr
+ version: ~1.1.0
+ repository: '@local'
+ condition: esr.enabled
+ - name: kube2msb
+ version: ~0.1.0
+ repository: '@local'
+ condition: kube2msb.enabled
+ - name: log
+ version: ~0.1.0
+ repository: '@local'
+ condition: log.enabled
+ - name: message-router
+ version: ~0.1.0
+ repository: '@local'
+ condition: message-router.enabled
+ - name: mock
+ version: ~0.1.0
+ repository: '@local'
+ condition: mock.enabled
+ - name: msb
+ version: ~0.1.0
+ repository: '@local'
+ condition: msb.enabled
+ - name: multicloud
+ version: ~1.1.0
+ repository: '@local'
+ condition: multicloud.enabled
+ - name: policy
+ version: ~0.1.0
+ repository: '@local'
+ condition: policy.enabled
+ - name: portal
+ version: ~0.1.0
+ repository: '@local'
+ condition: portal.enabled
+ - name: robot
+ version: ~0.1.0
+ repository: '@local'
+ condition: robot.enabled
+ - name: sdc
+ version: ~0.1.0
+ repository: '@local'
+ condition: sdc.enabled
+ - name: sdnc
+ version: ~0.1.0
+ repository: '@local'
+ condition: sdnc.enabled
+ - name: so
+ version: ~2.0.0
+ repository: '@local'
+ condition: so.enabled
+ - name: uui
+ version: ~1.1.0
+ repository: '@local'
+ condition: uui.enabled
+ - name: vfc
+ version: ~0.1.0
+ repository: '@local'
+ condition: vfc.enabled
+ - name: vid
+ version: ~0.1.0
+ repository: '@local'
+ condition: vid.enabled
+ - name: vnfsdk
+ version: ~1.1.0
+ repository: '@local'
+ condition: vnfsdk.enabled \ No newline at end of file
diff --git a/kubernetes/onap/resources/environments/onap-demo.yaml b/kubernetes/onap/resources/environments/onap-demo.yaml
new file mode 100644
index 0000000000..67b6f401a4
--- /dev/null
+++ b/kubernetes/onap/resources/environments/onap-demo.yaml
@@ -0,0 +1,60 @@
+#################################################################
+# Global configuration overrides.
+#
+# These overrides will affect all helm charts (ie. applications)
+# that are listed below and are 'enabled'.
+#################################################################
+global:
+ # Change to an unused port prefix range to prevent port conflicts
+ # with other instances running within the same k8s cluster
+ nodePortPrefix: 302
+
+ # image repositories
+ repository: nexus3.onap.org:10001
+ repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
+ # readiness check
+ readinessRepository: oomk8s
+ # logging agent
+ loggingRepository: docker.elastic.co
+
+ # image pull policy
+ pullPolicy: IfNotPresent
+
+ # override default mount path root directory
+ # referenced by persistent volumes and log files
+ persistence:
+ mountPath: /dockerdata-nfs
+
+ # flag to enable debugging - application support required
+ debugEnabled: true
+
+#################################################################
+# Enable/disable and configure helm charts (ie. applications)
+# to customize the ONAP deployment.
+#################################################################
+consul:
+ enabled: true
+
+so:
+ enabled: true
+ replicaCount: 1
+ liveness:
+ # necessary to disable liveness probe when setting breakpoints
+ # in debugger so K8s doesn't restart unresponsive container
+ enabled: true
+
+ # so server configuration
+ config:
+ # message router configuration
+ dmaapTopic: "AUTO"
+ # openstack configuration
+ openStackUserName: "vnf_user"
+ openStackRegion: "RegionOne"
+ openStackKeyStoneUrl: "http://1.2.3.4:5000"
+ openStackServiceTenantName: "service"
+ openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
+
+ # configure embedded mariadb
+ mariadb:
+ config:
+ mariadbRootPassword: password \ No newline at end of file
diff --git a/kubernetes/onap/values.yaml b/kubernetes/onap/values.yaml
new file mode 100644
index 0000000000..5340c95f57
--- /dev/null
+++ b/kubernetes/onap/values.yaml
@@ -0,0 +1,105 @@
+#################################################################
+# Global configuration overrides.
+#
+# These overrides will affect all helm charts (ie. applications)
+# that are listed below and are 'enabled'.
+#################################################################
+global:
+ # Change to an unused port prefix range to prevent port conflicts
+ # with other instances running within the same k8s cluster
+ nodePortPrefix: 302
+
+ # image repositories
+ repository: nexus3.onap.org:10001
+ repositorySecret: eyJuZXh1czMub25hcC5vcmc6MTAwMDEiOnsidXNlcm5hbWUiOiJkb2NrZXIiLCJwYXNzd29yZCI6ImRvY2tlciIsImVtYWlsIjoiQCIsImF1dGgiOiJaRzlqYTJWeU9tUnZZMnRsY2c9PSJ9fQ==
+ # readiness check
+ readinessRepository: oomk8s
+ # logging agent
+ loggingRepository: docker.elastic.co
+
+ # image pull policy
+ pullPolicy: Always
+
+ # default mount path root directory referenced
+ # by persistent volumes and log files
+ persistence:
+ mountPath: /dockerdata-nfs
+
+ # flag to enable debugging - application support required
+ debugEnabled: false
+
+#################################################################
+# Enable/disable and configure helm charts (ie. applications)
+# to customize the ONAP deployment.
+#################################################################
+aaf:
+ enabled: false
+aai:
+ enabled: false
+appc:
+ enabled: false
+clamp:
+ enabled: false
+cli:
+ enabled: false
+consul: # Consul Health Check Monitoring
+ enabled: false
+dcaegen2:
+ enabled: false
+esr:
+ enabled: false
+kube2msb:
+ enabled: false
+log:
+ enabled: false
+message-router:
+ enabled: false
+mock:
+ enabled: false
+msb:
+ enabled: false
+multicloud:
+ enabled: false
+policy:
+ enabled: false
+portal:
+ enabled: false
+robot: # Robot Health Check
+ enabled: false
+sdc:
+ enabled: false
+sdnc:
+ enabled: false
+so: # Service Orchestrator
+ enabled: true
+
+ replicaCount: 1
+
+ liveness:
+ # necessary to disable liveness probe when setting breakpoints
+ # in debugger so K8s doesn't restart unresponsive container
+ enabled: true
+
+ # so server configuration
+ config:
+ # message router configuration
+ dmaapTopic: "AUTO"
+ # openstack configuration
+ openStackUserName: "vnf_user"
+ openStackRegion: "RegionOne"
+ openStackKeyStoneUrl: "http://1.2.3.4:5000"
+ openStackServiceTenantName: "service"
+ openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
+
+ # configure embedded mariadb
+ mariadb:
+ config:
+ mariadbRootPassword: password
+uui:
+ enabled: false
+vfc:
+ enabled: false
+vid:
+ enabled: false
+vnfsdk:
+ enabled: false \ No newline at end of file