Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antongisli/maas-baremetal-k8s-tutorial

Step by step tutorial for bare metal K8s on a single machine
https://github.com/antongisli/maas-baremetal-k8s-tutorial

bare-metal bare-metal-kubernetes baremetal canonical how-to kubernetes maas self-hosted ubuntu

Last synced: 3 months ago
JSON representation

Step by step tutorial for bare metal K8s on a single machine

Awesome Lists containing this project

README

        

# Bare metal Kubernetes with MAAS, LXD, and Juju

## Intro

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 https://maas.io.

It is designed to be used in conjunction with an explanatory video tutorial: https://www.youtube.com/watch?v=sLADei_c9Qg

## How to use

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

## Requirements

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`](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/)

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.