Deploy LXD cluster on RPI cluster with MAAS

From UNamur InfoSec
Revision as of 14:01, 8 June 2022 by Mkuy (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

MAAS has the ability to automatically setup LXD onto its machines. However, it can only deploy and manage them as individual hosts, to make MAAS manage the LXD cluster, we need to create LXD cluster and add it to MAAS manually.

Create LXD cluster

Follow the official LXD document to create an LXD cluster. https://linuxcontainers.org/lxd/docs/master/clustering/

Registering LXD cluster in MAAS

Adding LXD cluster is the same as adding LXD hosts. MAAS will automatically detect the cluster.

ref: https://maas.io/docs/snap/3.1/ui/whats-new-in-maas#heading--lxd-clusters