mkdir workspace
cd workspace
git clone https://gerrit.o-ran-sc.org/r/it/dep
cd dep/tools/k8s/bin
./gen-cluster-init.sh
Add these lines to the ./k8s...sh script, for supporting Ubuntu 20.04 version.
elif [[ ${UBUNTU_RELEASE} == 20.* ]]; then
echo "Installing on Ubuntu $UBUNTU_RELEASE (Focal)"
if [ ! -z "${DOCKERV}" ]; then
DOCKERVERSION="${DOCKERV}-0ubuntu1~20.04.4"
fi
Continue with running the above script, as root:
sudo
su
./k8s-1node-cloud-init.sh
RIC Platform:
nano helm/appmgr/values.yaml
# replace tiller image with these values
# tiller:
# registry: ghcr.io
# name: helm/tiller
# tag: v2.12.3
nano helm/infrastructure/values.yaml
# replace tiller image with these values
# tiller:
# registry: ghcr.io
# name: helm/tiller
# tag: v2.12.3
RIC Aux:
cd dep
nano RECIPE_EXAMPLE/AUX/example_recipe.yaml
# replace the ric-dashboard image with the one below
# image:
# registry: nexus3.o-ran-sc.org:10002/o-ran-sc
# name: ric-dashboard
# tag: 2.1.0
nano ric-aux/helm/infrastructure/subcharts/kong/values.yaml
# replace the ingressController image with the one below
#ingressController:
# enabled: true
# image:
# repository: docker.io/kong/kubernetes-ingress-controller
# tag: 0.7.0
sudo apt install dos2unix
cd dep/bin
dos2unix -o deploy-ric-aux.sh
kubectl label --overwrite nodes $(hostname) portal-storage=enable
kubectl label --overwrite nodes $(hostname) aaf-storage=enable
./deploy-ric-aux ../RECIPE_EXAMPLE/AUX/example_recipe.yaml