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