Prerequisites
- Openstack and admin OpenStack account with enough resources: https://onap.readthedocs.io/en/latest/submodules/oom.git/docs/oom_cloud_setup_guide.html
- HA Rancher/Kubernetes cluster from the link: https://onap.readthedocs.io/en/latest/submodules/oom.git/docs/oom_setup_kubernetes_rancher.html
Technical background
With Dublin-release, SDN-R WT apps are part of SDNC image and disabled by default.
...
- define mount path for persistent volume
- Enable SDNC with at least one mariadb-galera replica
Code Block | ||
---|---|---|
| ||
/home/ubuntu/oom/# nano kubernetes/onap/values.yaml
...
# default mount path root directory referenced
# by persistent volumes and log files
persistence:
mountPath: /onapDev
...
#################################################################
# Enable/disable and configure helm charts (ie. applications)
# to customize the ONAP deployment.
#################################################################
...
mariadb-galera:
enabled: true
replicaCount: 1
...
sdnc:
enabled: true
replicaCount: 3
...
|
...
(Please check the status of open issues. Adjust additional helm templates if still required.)
Code Block | ||
---|---|---|
| ||
/home/ubuntu/oom/# nano kubernetes/sdnc/values.yaml
...
#################################################################
# Application configuration defaults.
#################################################################
# application images
repository: nexus3.onap.org:10001
pullPolicy: Always
image: onap/sdnc-image:1.5.1-STAGING-latest ## put here the right image tag
...
# application configuration
config:
odlPassword: <secretadminpasswort>
...
sdnrwt: true
|
...
Code Block | ||
---|---|---|
| ||
/home/ubuntu/oom/kubernetes# sudo make all /home/ubuntu/oom/kubernetes# helm install local/onap --name <Release-name> --namespace onap eg. /home/ubuntu/oom/kubernetes# helm install local/onap --name dev --namespace onap |
Un-Deploy SDN-R
see: Clean Deployed ONAP Instance