OOM Developer Testing Deployment
Developing and testing changes to the existing OOM project can be done locally by setting up some additional tools to host the updated helm charts.
Step 1. Clone the OOM repository from ONAP gerrit:
> git clone http://gerrit.onap.org/r/oom
> cd oom/kubernetes
Step 2. Install Helm Plugin required to push helm charts to local repo:
> helm plugin install https://github.com/chartmuseum/helm-push.git --version 0.9.0
Note
The --version 0.9.0 is required as new version of helm (3.7.0 and up) is
now using push directly and helm-push is using cm-push starting
version 0.10.0 and up.
Step 3. Install Chartmuseum
Chart museum is required to host the helm charts locally when deploying in a development environment:
> curl -LO https://s3.amazonaws.com/chartmuseum/release/latest/bin/linux/amd64/chartmuseum
> chmod +x ./chartmuseum
> mv ./chartmuseum /usr/local/bin
Step 4. To setup a local Helm server to store the ONAP charts:
> mkdir -p ~/helm3-storage
> chartmuseum --storage local --storage-local-rootdir ~/helm3-storage -port 8879 &
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 5. Verify your Helm repository setup with:
> helm repo list
NAME URL
local http://127.0.0.1:8879
Step 6. Build a local Helm repository (from the kubernetes directory):
> make SKIP_LINT=TRUE [HELM_BIN=<HELM_PATH>] all
- HELM_BIN
Sets the helm binary to be used. The default value use helm from PATH
Step 7. Display the onap charts that are available to be deployed:
> helm repo update
> helm search repo local
Helm search repo output
NAME CHART VERSION APP VERSION DESCRIPTION
local/onap 11.0.0 Kohn Open Network Automation Platform (ONAP)
local/aaf 11.0.0 ONAP Application Authorization Framework
local/aai 11.0.0 ONAP Active and Available Inventory
local/appc 11.0.0 Application Controller
local/cassandra 11.0.0 ONAP cassandra
local/cds 11.0.0 ONAP Controller Design Studio (CDS)
local/clamp 11.0.0 ONAP Clamp
local/cli 11.0.0 ONAP Command Line Interface
local/common 11.0.0 Common templates for inclusion in other charts
local/consul 11.0.0 ONAP Consul Agent
local/contrib 11.0.0 ONAP optional tools
local/cps 11.0.0 ONAP Configuration Persistene Service (CPS)
local/dcaegen2 11.0.0 ONAP DCAE Gen2
local/dgbuilder 11.0.0 D.G. Builder application
local/dmaap 11.0.0 ONAP DMaaP components
local/log 11.0.0 ONAP Logging ElasticStack
local/mariadb-galera 11.0.0 Chart for MariaDB Galera cluster
local/mongo 11.0.0 MongoDB Server
local/msb 11.0.0 ONAP MicroServices Bus
local/multicloud 11.0.0 ONAP multicloud broker
local/music 11.0.0 MUSIC - Multi-site State Coordination Service
local/mysql 11.0.0 MySQL Server
local/nbi 11.0.0 ONAP Northbound Interface
local/network-name-gen 11.0.0 Name Generation Micro Service
local/nfs-provisioner 11.0.0 NFS provisioner
local/oof 11.0.0 ONAP Optimization Framework
local/policy 11.0.0 ONAP Policy Administration Point
local/pomba 11.0.0 ONAP Post Orchestration Model Based Audit
local/portal 11.0.0 ONAP Web Portal
local/postgres 11.0.0 ONAP Postgres Server
local/robot 11.0.0 A helm Chart for kubernetes-ONAP Robot
local/sdc 11.0.0 Service Design and Creation Umbrella Helm charts
local/sdnc 11.0.0 SDN Controller
local/sdnc-prom 11.0.0 ONAP SDNC Policy Driven Ownership Management
local/sniro-emulator 11.0.0 ONAP Mock Sniro Emulator
local/so 11.0.0 ONAP Service Orchestrator
local/strimzi 11.0.0 ONAP Strimzi Apache Kafka
local/uui 11.0.0 ONAP uui
local/vfc 11.0.0 ONAP Virtual Function Controller (VF-C)
local/vid 11.0.0 ONAP Virtual Infrastructure Deployment
local/vnfsdk 11.0.0 ONAP VNF SDK
Note
The setup of the 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.