Release K: it/dep installation with containerd and microk8s
Introduction
This explains how the containerd and microk8s installations can be used to install it/dep SMO installation. SMO installation contains a chart subsets such as onap_oom, oran_oom and SMO (topology exposure and inventory). This installation allows to install the configured applications.
This study is to check the compatibility with the different flavours of Kubernetes installations especially containerd and microk8s.
The components required for this installation can be enabled/disabled based on the helm-override configurations available in smo-install/helm-override/ directory. There are different flavours of installations are available and by default it uses the smo-install/helm-override/default configurations. Instructions to use a different configuration profiles are available as part of a README (smo-install/README.md).
Containerd based single node Kubernetes cluster
it/dep SMO installation worked well with the containerd based Kubernetes installation.
Environment
Containerd version : 1.28.0
OS: Ubuntu 22.04.5 LTS
Containerd installation instructions:
Containerd can be installed using the instructions provided by the containerd manual here.
In this study the scripts from this repository has been used for the containerd installation. This requires an additional step for the installation completion as shown below,
kubectl taint nodes --all node-role.kubernetes.io/control-plane-This brings up a single node Kubernetes cluster and it can be used for the installation. Additional worker nodes can be added as required with this installation.
Microk8s based single node Kubernetes cluster
it/dep SMO installation worked well with the containerd based Kubernetes installation.
Environment
Microk8s version : 1.31
OS: Ubuntu 22.04.5 LTS
Microk8s installation instructions
Instructions for the microk8s is available in the ubuntu manual here. This installs the microk8s and it needs some additional steps as shown below to make the cluster works with kubectl.
sudo apt update
sudo snap install kubectl --classic
alias kubectl='sudo microk8s kubectl'
mkdir ~/.kube
kubectl config view --raw > ~/.kube/configSMO Installation
This involves setting up a Chartmuseum and build all the charts and push into Chartmuseum. Once the charts are available installations with different configurations can be tested.
Details installation instructions are available as part of a README (smo-install/README.md).
The following components has been enabled for testing the Kubernetes clusters.
ONAP - Policy
All the NONRTRIC components
SMO - TEIV
All the above components gets successfully deployed and microk8s takes longer to bring all those pods up.
Microk8s based installation is bit flaky sometimes and it fails to bring up onap strimzi-kafka.