Install on Virtual Machine

Good to know: This guide is directed at Ubuntu (Version 20.04) and gives instructions for microk8s however you can use both the distribution and the packaging of kubernetes of your own choice.

Setup a VM of choice

Minimum requirements:

  • 8 Core

  • 8 GB RAM

  • 20GB of storage (for persistent storage of images + models)

Login to the shell

The next steps will require you to be logged in to a shell on the VM.

For the most up-to-date instructions on how to install microk8s from snap please visit https://microk8s.io/docs/getting-started

Install Microk8s from snap

$sudo snap install microk8s --classic --channel=1.21

Add user to the microk8s group

sudo usermod -a -G microk8s $USER
sudo chown -f -R $USER ~/.kube

In order to have the new group activated you must start a new shell by logging out/in or do su - $USER

$microk8s status --wait-ready

For further information on how to configure microk8s please see the official documentation.

When microk8s cluster is ready you can continue to follow the instructions from helm.

Last updated