Please check from Introduction and guides#Installingthenear-RTRIC → Installing the near-RT RIC
# Kubectl commads:
...
- OS: Ubuntu 18.04 LTS (Bionic Beaver)
- CPU(s): 4
- RAM: 16 GB
- Storage: 160 GB
NOTE: sudo access is required for installation
Getting Started PDF
...
NOTE: cd to your directory where installation will be, i.e. /home/user
Run ...
$ sudo -i
$ git clone http://gerrit.o-ran-sc.org/r/it/dep
$ cd dep
$ git submodule update --init --recursive --remote
...
$ sudo -iNote: After doing sudo -i you will need to return to user home directory. You will need to go /home/user.
...
# The outputted script is will be used for preparing K8 cluster for RIC to deploy to file is "k8s-1node-cloud-init-k_1_16-h_2_12-d_cur.sh"
...
Run ... For SMO
$ cd ../etc$ vi infra.rc # Review and edit the versions, using the combination for ONAP Frankfurt$ cd ../bin$ ./gen-cloud-init.sh # The stack install script for ONAP will be generated.
...
Run ...
$ ./k8s-1node-cloud-init-k_1_16-h_2_12-d_cur.sh
NOTE: Be patient as this takes some time to complete. Upon completion of this script, the VM will be rebooted. You will then need to login once again.
...
$ kubectl get pods -
...
Run ...
...
n nampespace - gets a list of Pods running
$ kubectl get
...
logs -n
...
Run...
...
namespace name_of_running_pod
...
Run..
# Verify xApp is not running...
$ kubectl get pods -n ricxapp
# Call xApp Manager to deploy HelloWorld xApp...
$ curl --location --request POST "http://$(hostname):32080/appmgr/ric/v1/xapps" --header 'Content-Type: application/json' --data-raw '{"xappName": "hwxapp"}'
# Verify xApp is running...
$ kubectl get pods -n ricxapp
# View logs...
$ kubectl logs -n ricxapp <name of POD retrieved from statement above>
...
Kubectl commads:
kubectl get pods -n nampespace - gets a list of Pods running
kubectl get logs -n namespace name_of_running_pod
Complete these tasks to get started
Recent space activity
Recently Updated | ||||||||
---|---|---|---|---|---|---|---|---|
|
Space contributors
...