SDN-R with OOM Rancher/Kubernetes Installation
Prerequisites
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.
SDN-R WT apps will be enabled by setting the environment variable $SDNRWT=true within the SDNC container
Procedure
This procedure is based on Deploying SDN-C using helm chart.
Open issues
Open issues related to this topic
Prepare helm charts
define mount path for persistent volume
Enable SDNC with at least one mariadb-galera replica
/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
...
Enable SDN-R WT apps
(Please check the status of open issues. Adjust additional helm templates if still required.)
/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
Please check the status of open issues. Adjust helm templates if still required.
Deploy SDN-R
Make helm repos and deploy
/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