...
The instructions to create an ONAP installation using the OOM Rancher/Kubernetes approach are in the ONAP wiki site (be sure to select the Casablanca version of the instructions). Once installed, there are further instructions on deploying ONAP at this wiki page.
Working with the oom and integration ONAP repositories in the "ubuntu" home directory in sb4-rancher
The VM sb4-rancher is the Rancher controller for the ONAP installation, and we keep clones of the ONAP oom and integration repositories in the ubuntu home directory. Below are commands to execute as ubuntu in a terminal session with sb4-rancher. Please edit these commands if something is wrong or missing.
sudo -i -u ubuntu | Change to user ubuntu |
cd ~/git/oom git status | |
git checkout . | Discard any changes. I assume that we keep all of our changes in override files. |
git pull | Pull down the latest. I assume that we will keep all of our changes in other locations. |
cd ~/git/integration | This repository maintains version numbers of the latest code for the ONAP components. There is information about the repository at https://gerrit.onap.org/r/gitweb?p=integration.git;a=summary. |
git pull | Get the latest; currently working in the master branch. There is no Casablanca branch. |
cd ~/git/integration/version-manifest/src/main/scripts | Scripts that update the OOM repository with the correct version numbers |
./update-oom-image-versions.sh \ ~/git/integration/version-manifest/src/main/resources/docker-manifest-staging.csv \ ~/git/oom | Execute a script to update version numbers in the Helm charts in the oom/kubernetes directory. This will make changes to the values.yaml files, so “git status” in ~/git/oom will return a lot of changes. I emphasize “staging” because there is also a “release” script. We want to use the staging version numbers. |
cd ~/git/oom/kubernetes sudo cp -r ~/oom/kubernetes/helm/plugins/ ~/.helm Get the Helm deploy plugin developed by the OOM group make repo This updates the Helm repo served by a local Helm process listening on port localhost:8879 make && make onap I think this updates the local Helm repo with the latest versions in ~/git/oom/kubernetes. These commands take a while. | Start following instructions at |
Preparing to install the SDNC Docker image
To install the development image rather than the nexus3 image, open a terminal session with the VM containing the Rancher controller (sb4-rancher). There are instructions on how to create a ssh tunnel to sb4-rancher at this wiki page. Once logged in, we must update parameters in the values.yaml file in the Helm chart for SDNC in the OOM repository, shown here.
...