tree: 00428b68f231121ed93fe45f98a9c17d43f946d8 [path history] [tgz]
  1. a1policymanagement/
  2. aaf/
  3. aai/
  4. appc/
  5. cds/
  6. cli/
  7. common/
  8. config/
  9. consul/
  10. contrib/
  11. cps/
  12. dcaegen2-services/
  13. dcaemod/
  14. dmaap/
  15. helm/
  16. holmes/
  17. log/
  18. modeling/
  19. msb/
  20. multicloud/
  21. nbi/
  22. onap/
  23. oof/
  24. platform/
  25. policy/
  26. portal/
  27. robot/
  28. sdc/
  29. sdnc/
  30. sniro-emulator/
  31. so/
  32. strimzi/
  33. uui/
  34. vfc/
  35. vid/
  36. vnfsdk/
  37. .gitignore
  38. LICENSE
  39. Makefile
  40. README.md
kubernetes/README.md

Quick Start Guide

WARNING: This README is no longer maintained and will be deprecated. Please refer to the official OOM guide here - OOM Guide

This is a quick start guide describing how to deploy ONAP on Kubernetes using Helm.

Pre-requisites:

  • Your Kubernetes environment must be available. For more information see, ONAP on Kubernetes.
  • Deployment artifacts are customized for your location.

Deploy ONAP Instance

Step 1. Clone the OOM repository from ONAP gerrit:

> git clone http://gerrit.onap.org/r/oom
> cd oom/kubernetes

Step 2. Customize the oom/kubernetes/onap parent chart, like the values.yaml file, to suit your deployment. You may want to selectively enable or disable ONAP components by changing the subchart enabled flags to true or false. The .yaml file for OpenStackEncryptedPassword should be the MSO ecnrypted value of the openstack tenant password

Example:
...
robot: # Robot Health Check
  enabled: true
sdc:
  enabled: false
sdnc:
  enabled: false
so: # Service Orchestrator
  enabled: true
...

Step 3. To setup a local Helm repository to serve up the local ONAP charts: [Note: ensure helm init has been executed on the node, or run helm init --client-only]

> helm serve &

Note the port number that is listed and use it in the Helm repo add as follows:

> helm repo add local http://127.0.0.1:8879

Step 4. Build a local Helm repository (from the kubernetes directory):

> make all

Step 5. Display the charts that are available to be deployed:

> helm search -l
NAME                    VERSION    DESCRIPTION
local/appc              2.0.0      Application Controller
local/clamp             2.0.0      ONAP Clamp
local/onap              2.0.0      Open Network Automation Platform (ONAP)
local/robot             2.0.0      A helm Chart for kubernetes-ONAP Robot
local/so                2.0.0      ONAP Service Orchestrator
...

Note: Setup of this Helm repository is a one time activity. If you make changes to your deployment charts or values be sure to use make to update your local Helm repository.

Step 6. Once the repo is setup, installation of ONAP can be done with a single command:

> helm install local/onap --name dev --namespace onap

Note: the --namespace onap is currently required while all onap helm charts are migrated to version 2.0. After this activity is complete, namespaces will be optional.

Use the following to monitor your deployment and determine when ONAP is ready for use:

> kubectl get pods --all-namespaces -o=wide

Cleanup deployed ONAP instance

To delete a deployed instance, use the following command:

> helm del dev --purge

For more information on OOM project documentation, refer to: