Step by step tutorial for bare metal K8s on a single machine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Adolfo Delorenzo b4833a1e49
Update ''
5 months ago
LICENSE Create LICENSE 1 year ago Update 1 year ago
ceph-osd.yaml added working juju/ceph storage setup, add k8s to juju, bootstrap, add 1 year ago
lxd.conf small fix 1 year ago
maas-cloud.yaml various fixes and bugs 1 year ago Update '' 5 months ago

Bare metal Kubernetes with MAAS, LXD, and Juju


This is a series of commands and configuration files that will guide you to build your own emulated bare metal k8s cluster on a single machine, using

It is designed to be used in conjunction with an explanatory video tutorial:

How to use

Read The script is not fully automated and requires manual intervention at times. Read the comments to understand the process.


You need a reasonably powerful bare metal machine, 4 or more cores with 32 GB of RAM and 500GB of free disk space. Assumes a fresh install of Ubuntu server (20.04 or higher) on the machine.

You will need to install the command line configuration tool for Kubernetes kubectl

The reason you need a bare metal machine is because nesting multiple layers of VMs will not work and/or have performance problems.

Note: this tutorial has not been tested on versions prior to 20.04.