Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Changes in Progress!

In the meantime - see Release J - Run in Kubernetes

This wiki describes how to deploy the NONRTRIC components within Kubernetes cluster.

...

Note
iconfalse

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
Check the default StorageClass or ONLY for development proposes disable kong-postgresĀ  persistence: sed -i '/persistence:/,/existingClaim:/s/existingClaim: .*/enabled: false/' ./dep/nonrtric/helm/kongstorage/kongvalues.yaml && rm -rf ./dep/nonrtric/helm/kongstorage/templates

Installing / Uninstalling the RAN PM functions

...

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

...

```bash
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

...