Deploy MAAS Site Manager and PostgreSQL
In this section, we’ll deploy MAAS Site Manager and PostgreSQL, and create an integration between the two.
Before starting, make sure you are working in the correct Juju model:
juju switch msm
Deploy PostgreSQL
To deploy PostgreSQL, run the following:
juju deploy postgresql-k8s --channel 14/stable
Then, run juju status --watch 5s
and wait for the postgresql-k8s/0
unit to report as waiting/idle
.
Note: While waiting, postgresql-k8s
may enter a blocked state, but will return to waiting/idle
after some time
Deploy MAAS Site Manager
To deploy MAAS Site Manager and integrate it with PostgreSQL, run the following:
juju deploy maas-site-manager-k8s
juju integrate postgresql-k8s maas-site-manager-k8s
Finally, wait for both units to report as active/idle
:
juju status --watch 2s
Next Step: Deploy COS Lite