Deploy LXD cluster on RPI cluster with MAAS: Difference between revisions

From UNamur InfoSec
Jump to navigation Jump to search
(Created page with "== Introduction ==")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Introduction ==
== 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

Latest revision as of 14:01, 8 June 2022

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