Comment on page
Kubernetes (MicroK8s) Installation guide
The following article demonstrate a sequence of commands that Tabnine users use to setup microK8s kubernetes on an ubuntu server (22.04 LTS, 20.04 LTS, 18.04 LTS or 16.04 LTS).
In case you already have a Kubernetes cluster installed, you can skip this guide and proceed straight to our deployment guide to install tabnine.
Install microk8s
sudo snap install microk8s --classic --channel=1.27
Validate the server is up
sudo microk8s status --wait-ready
Install some required addons
sudo microk8s enable ingress
sudo microk8s enable hostpath-storage
Install nvidia apt pakcages
sudo apt update
sudo apt install nvidia-utils-525 nvidia-driver-525
Restart the host machine to allow drivers to be udpated
sudo reboot
sudo microk8s enable gpu
sudo reboot
Validate that you see "nvidia.com/gpu" in the output
sudo microk8s kubectl get nodes -ojsonpath="{.items[*]['metadata.name', 'status.allocatable']}"
Last modified 2mo ago