...
Prerequisites
kubernetes
v1.19 +local
kubectl
utilitya connected kubernetes cluster
- Istio
istio
installed on the cluster
docker
anddocker-compose
(latest)git
- Text editor, e.g.
vi
,notepad
,nano
, etc. helm
helm3
helm3
bash
library '
envsubst
' must be installed (check installation using command:type envsubst
)library '
jq
' must be installed check installation using command:type jq
)keytool
openssl
ChartMuseum
to store the HELM charts on the server, multiple options are available:Execute the install script:
./dep/smo-install/scripts/layer-0/0-setup-charts-museum.sh
Install
chartmuseum
manually on port 18080 (https://chartmuseum.com/#Instructions, https://github.com/helm/chartmuseum)
...
Info |
---|
These instructions work on linux/MacOS or on windows via WSL using a local or remote kubernetes cluster. It is recommended to run the ranpm on a kubernetes cluster instead of local docker-desktop etc. as the deployment is somewhat resource intensive. |
...
The demo set can be run on local or remote kubernetes cluster. Kubectl must be configured to point to the applicable kubernetes instance. Nodeports exposed by the kubernetes instance must be accessible by the local machine - basically the kubernetes control plane IP needs to be accessible from the local machine. (The installation scripts take care of getting a token form Istio, using dep/ranpm/install/scripts/kube_get_controlplane_host.sh as the baseurl. The K8s controlplane should be accessible from localhost)
The latest version of
istio
must be installed on the cluster.
...
Before proceeding you will need to be familiar with helm, kubernetes and and basic bash scripting. For an introduction to helm see: https://helm.sh/docs/intro/quickstart/
...
The file shown below is a snippet from the override file: example_recipe.yaml
.
All parameters beginning with 'install' can be configured 'true
' for enabling installation and 'false
' for disabling installation.
...
There are many other parameters in the file that may require adaptation to fit a certain environment. For example hostname
, namespace
and port
to kafka
message router etc. These integration details are not covered in this guide.
Code Block | ||||
---|---|---|---|---|
| ||||
# Here you can enable inclusion or exclusion of each component. Disabled components Awill not enabled componentbe installed, and their later configurations will not be installedignored. nonrtric: installPms: true installA1controller: true installA1simulator: true installControlpanel: true installInformationservice: true installRappcatalogueservice: true installRappcatalogueenhancedservice: true # Enable either installNonrtricgateway or installKong. Both cannot be enabled at the same time installNonrtricgateway: false installKong: true installDmaapadapterservice: true installDmaapmediatorservice: true installHelmmanager: true installOrufhrecovery: true installRansliceassurance: true installCapifcore: true installServicemanager: true # When enabling Ranpm, set value false above for installControlpanel, installInformationservice, installNonrtricgateway installRanpm: false # rApp Manager functionality relies on ONAP ACM for its operation installrAppmanager: true # DME Participant should only be activated when ONAP ACM installation is available for this participant to utilize installDmeParticipant: false volume1: # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning) size: 2Gi storageClassName: pms-storage hostPath: /var/nonrtric/pms-storage volume2: # Set the size to 0 if you do not need the volume (if you are using Dynamic Volume Provisioning) size: 2Gi storageClassName: ics-storage hostPath: /var/nonrtric/ics-storage volume3: size: 1Gi storageClassName: helmmanager-storage ... ... ... |
...
Note | ||
---|---|---|
| ||
When enabling the |
...
Code Block | ||||
---|---|---|---|---|
| ||||
sudo ./bin/deploy-nonrtric.sh -f dep/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml |
Installing / Uninstalling the RAN PM functions
See the sub-page Release J - Run in Kubernetes - Additional instructions for RANPM Installation for more details.
Uninstalling
There is a script that uninstalls installs the NONRTRIC components. It is simply run like this:
...