Kubernetes on LXD - sayems/kubernetes.resources GitHub Wiki
In progress....
The best way to create a Kubernetes cluster is to use Vagrant with LXC
Table of contents
Prerequisite
- Ubuntu 18.04+
- LXC 2.1+
- Ansible 2.6+
- Vagrant 2.2.4+
- Vagrant-lxc plugin
- Kubernetes CLI
Installation
If you’re in a hurry, you can just copy and paste the following commands into your terminal to install all the Prerequisite software:
Install Vagrant
sudo apt-get -y purge vagrant && \
wget https://releases.hashicorp.com/vagrant/2.2.4/vagrant_2.2.4_x86_64.deb && \
sudo dpkg -i vagrant*.deb && \
sudo apt-get -y install build-essential git ruby lxc lxc-templates cgroup-lite redir && \
vagrant plugin install vagrant-lxc && \
vagrant lxc sudoers
Install Ansible
sudo apt-get update && \
sudo apt-get install -y software-properties-common && \
sudo apt-add-repository ppa:ansible/ansible && \
sudo apt-get update && \
sudo apt-get install ansible