This wiki describes how to deploy the NONRTRIC components within Kubernetes cluster.
Changes in Progress!
In the meantime - see Release J - Run in Kubernetes
This wiki describes how to deploy the NONRTRIC components within Kubernetes cluster.
Table of Contents |
---|
NONRTRIC Architecture
...
Note | ||
---|---|---|
| ||
If the "Default storage class" is not set then Kong PV and PVC creation may fail and that's specified in nonrtric/helm/kongstorage/kongvalues.yaml |
Installing / Uninstalling the RAN PM functions
...
- Verify the A1 PMS logs to make sure that the connection between A1 PMS and a1controller is successful.Ā
Command to check pms logs
Code Block language bash title Kubernetes command to get PMS logs kubectl logs policymanagementservice-0 -n nonrtric
Command to enable debug logs in PMS (Command below should be executed inside k8s pods or the host address needs to be updated with the relevant port forwarding)
Code Block language bash title Enabling debug logs in PMS curl --request POST \ --url http://policymanagementservice:9080/actuator/loggers/org.onap.ccsdk.oran.a1policymanagementservice \ --header 'Content-Type: application/json' \ --data '{ "configuredLevel": "DEBUG" }'
Try removing the controller information in specific simulator configuration and verify the simulator are working without a1controller.
Code Block language bash title application_configuration.json collapse true ... { "name":"ric1", "baseUrl":"https://a1-sim-osc-0.a1-sim:8185", "managedElementIds":[ "kista_1", "kista_2" ] }, ...
- For troubleshooting the
curl
command is available in the can be used incontrolpanel
pod.
Example of local installation
sudo kind create cluster --config - <<EOF
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
extraPortMappings:
- containerPort: 30091
hostPort: 30091
protocol: TCP
- containerPort: 30093
hostPort: 30093
protocol: TCP
- containerPort: 31575
hostPort: 31575
protocol: TCP
- containerPort: 32080
hostPort: 32080
protocol: TCP
EOF
git clone "https://gerrit.o-ran-sc.org/r/it/dep"
sed -i '/persistence:/,/existingClaim:/s/existingClaim: .*/enabled: false/' ./dep/nonrtric/helm/kongstorage/kongvalues.yaml && rm -rf ./dep/nonrtric/helm/kongstorage/templates
./dep/smo-install/scripts/layer-0/0-setup-charts-museum.sh
sudo ./dep/bin/deploy-nonrtric -f ./dep/nonrtric/RECIPE_EXAMPLE/example_recipe.yaml