Difference between revisions of "Deploy LXD cluster on RPI cluster with MAAS"

From UNamur InfoSec
Jump to navigation Jump to search
 
Line 1: Line 1:
== Introduction ==
== Introduction ==
MAAS has the ability to deploy ubuntu onto the machine it manages and install LXD or Libvirt and then manage its virtualization resources. However, it can only deploy and manage them as individual hosts, to manage the LXD cluster, we need to join the LXD host and add the LXD cluster to MAAS manually.
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