...
Code Block | ||||
---|---|---|---|---|
| ||||
microk8s enable storage
microk8s enable helm
microk8s enable dns
|
Microk8s 1.15 comes with helm v2.14.3, ONAP Frankfurt release requires helm v2.16.6, you can use snap to install required helm version:
...
Clone ONAP Helm charts for specific release including submodules
git clone --branch frankfurt --recurse-submodules "https://gerrit.onap.org/r/oom"
Change to kubernetes dir
cd oom/kubernetes
Initialize Helm and configure Tiller
Code Block language bash title Configure Tiller microk8s kubectl -n kube-system create serviceaccount tiller microk8s kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller microk8s helm init --service-account tiller microk8s kubectl -n kube-system rollout status deploy/tiller-deploy
Start Helm service and initialize local Helm repository
make repo
# This will do same as:helm serve &
helm repo add local http://127.0.0.1:8879Package ONAP Helm charts
make
...