Versions Compared

Key

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

...

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

...

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

...