Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

Using an existing Juju controller

MicroStack can use an existing Juju controller during bootstrap instead of deploying a Juju controller within the MicroStack deployment.

This allows operators to make use of an existing Juju controller that could be used to control many Juju deployments of different types of services - including multiple MicroStacks!

Register the Juju controller

Register an existing Juju controller in MicroStack.

Note: Ensure the Juju user created in the external Juju controller has superuser permissions granted.

Bootstrap with registered Juju controller

Use the option --controller with the bootstrap command to make use of the previously registered Juju controller.

In local mode the roles for the machine still need to be provided during bootstrap:

sunbeam cluster bootstrap --roles compute,storage,control \
    --accept-defaults --controller prod-controller-01

In MAAS mode the roles are determined by tags on the machines being deployed, so the roles option is not used:

sunbeam cluster bootstrap --controller prod-controller-01

Last updated 3 months ago. Help improve this document in the forum.