How to set constraints for a controller

See also:

Constraints are applied to the controller during its creation using the --bootstrap-constraints option:

juju bootstrap --bootstrap-constraints cores=2 google

Here, we want to ensure that the controller has at least two CPUs.

See Creating a controller for details and further examples.

Constraints applied with ‘–bootstrap-constraints’ will automatically apply to any future controllers provisioned for high availability. See Controller high availability.