-
Notifications
You must be signed in to change notification settings - Fork 29
Kubernetes on LXD
Syed Sayem edited this page Apr 11, 2019
·
10 revisions
In progress....
The best way to create a Kubernetes cluster is to use Vagrant with LXC
- Ubuntu 18.04+
- LXC 2.1+
- Ansible 2.6+
- Vagrant 2.2.4+
- Vagrant-lxc plugin
- Kubernetes CLI
If you’re in a hurry, you can just copy and paste the following commands into your terminal to install all the Prerequisite
software:
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
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