I’m trying to understand more how to specify machine tags, zones, and pools when deploying applications using Juju on a MAAS cloud.
We have something similar to this in our
bundle.yaml that we
juju deploy ./bundle.yaml:
applications: foo: charm: foo constraints: tags=foo,bar,^bla zones=a-1
I want to understand more about these constraints:
tags=foo,barmeans: "match machines with tag
- how do I specify an OR between tags? For example: "match machines with tag
bar"? Can I use
- how do I specify a more complex constraint, like: "(
bar) AND (
bla) AND NOT (
- what are the constrains that I can set/request when using Juju? i know I can specify MAAS tags and zones, can I also specify a pool and fabric vlan? What is the syntax for that?
- when specifying multiple constraints, they are all “joined” with a boolean AND?
(cross post from MAAS constraints when using Juju - Users - MAAS | Discourse)