Versions Compared

Key

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

...

Code Block
sudo snap install microk8s --classic --channel=1.18/stable
sudo snap refresh microk8s --classic --channel=1.19/stable

Or (when the master node bug will be fixed on 1.19 kubernetes snap install)

sudo snap install microk8s --classic --channel=1.19/stable

You may need to change your firewall configuration to allow pod to pod communication and pod to internet communication :

...

Storage addon : we will enable the default Host storage class, this allows local volume storage that are used by some pods to exchange folders between containers.

Code Block
sudo microk8s enable dns storage

...

Code Block
tar xvfz helm-v3.5.4-linux-amd64.tar.gz



Code Block
sudo mv linux-amd64/helm /usr/local/bin/helm

...

1. Edit the file located at :

Code Block
sudo nano /var/snap/microk8s/current/args/kubelet

...

2. Edit the file located at :

Code Block
sudo nano /var/snap/microk8s/current/args/kube-apiserver

...

Microk8s comes bundled with kubectl, you can interact with it by doing:

Code Block
sudo microk8s kubectl describe node

...

Code Block
cd
mkdir .kube
cd .kube
sudo microk8s.config > config
chmod 700 config

...

Code Block
helm plugin install --version v0.9.0 https://github.com/chartmuseum/helm-push.git

...

unless you already have docker, in which case you can skip this part altogether.

Or use snap:

Code Block
sudo snap install docker

8) Build all oom charts and store them in the chart repo

You should be ready to build all helm charts, go into the oom/kubernetes folder and run a full make

Ensure you have "make" installed:

Code Block
sudo apt install make

Then build OOM

Code Block
cd ~/oom/kubernetes
make all

...

Code Block
# for myVM ONAP
127.0.0.1 portal.api.simpledemo.onap.orgaaf-gui
127.0.0.1 sdcaai.apiui.simpledemo.onap.org
127.0.0.1 sdcappc.api.fe.simpledemo.onap.org
127.0.0.1 sdccds.workflow.pluginapi.simpledemo.onap.org
127.0.0.1 vidcdt.api.simpledemo.onap.org
127.0.0.1 policyclamp.api.simpledemo.onap.org
127.0.0.1 aainbi.uiapi.simpledemo.onap.org
127.0.0.1 nbipolicy.api.simpledemo.onap.org
127.0.0.1 clampportal.api.simpledemo.onap.org
127.0.0.1 so-monitoring
127.0.0.1 robot-onap.onap.org
127.0.0.1 aaf-gui
127.0.0.1 robot-onapsdc.api.fe.simpledemo.onap.org
127.0.0.1 cdtsdc.api.simpledemo.onap.org
127.0.0.1 appcsdc.workflow.apiplugin.simpledemo.onap.org
127.0.0.1 cdsso-monitoring
127.0.0.1 vid.api.simpledemo.onap.org

You can then access the portal UI by opening your browser to :
https://portal.api.simpledemo.onap.org:30225/ONAPPORTAL/login.htm
user/pass is cs0008/demo123456!

...