boot2podman.github.io

2020-07-03 afbjorklund

Three Sizes of Cluster

The boot2podman distribution is focused on running containers on a single node.

But if you want to run a local cluster of nodes, here are some different form factors:

Kubernetes

The idea here is to have one control plane node, and from one to three worker nodes:

kubernetes architecture

Source: https://kubernetes.io

The nodes will all run Kubernetes, which will talk to the container runtime (or “engine”).

It is installed using kubeadm, a tool to bootstrap a minimum viable Kubernetes cluster.

Small

Running virtual machines is the easiest way to set up a local cluster.
This runs the same architecture as the regular laptop or public cloud.

QEMU/KVM on NUC

£ 441.97 ($555) - including cpu and memory

Intel NUC 10

https://www.redhat.com/en/topics/virtualization/what-is-virtualization

https://www.intel.com/content/www/us/en/products/boards-kits/nuc.html

Note: need to add a disk as well, either M.2 SSD or 2.5” HDD.

Smaller

The third generation introduced a more server-like 64-bit processor.
Many cloud providers use these as a low-cost / low-power alternative.

Raspberry Pi 3B

£ 148.00 ($184) - boards and case only

Raspberry Pi 3 Cluster

https://thepihut.com/collections/raspberry-pi-store

Note: Need to add a SD card for each, and power and network.

Smallest

The credit-card sized version Zero of the single-board ARM computer.
Now also has wireless support (both WiFi networking and Bluetooth)

Raspberry Pi 0W

£ 31.60 ($39) - boards and case only

Raspberry Pi 0 Cluster

https://thepihut.com/collections/raspberry-pi-store

Note: Need to add a SD card for each, and power (no network).


This new post was about the hardware, see the previous post for the software:

You can also run “system containers” instead of virtual machines or bare metal.

These are not included here, but do see OpenVZ or LXC for more information.