[RFE] availability zone constraints
Bug #1743106 reported by
Dmitrii Shcherbakov
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I recall that there was an intention to implement availability zone constraints in the same way as spaces:
https:/
Something like this + handling:
https:/
Spaces *[]string `json:"
Zones *[]string `json:"
pad.lv/1706462 is more like a bug rather than a feature request so I created this one with a clear name.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Wishlist |
Changed in juju: | |
status: | Triaged → Incomplete |
Changed in juju: | |
status: | Expired → Triaged |
To post a comment you must log in.
Zones as a placement directive is something I'm interested in supporting. (IIRC we already support this in most places.)
Zones as a constraint feels like it is possible, but potentially violating layering and what zones are supposed to mean. And while it could lead to people fixing a specific issue, it ultimately causes muddy waters in the overall design of systems and how machines should be put into zones, and how bundles need to be defined. It leads to heavy coupling between bundle definitions and the location that they are being deployed into.
Its possible we actually need something more like "zones as a model config" to declare what zones should be treated as off-limits. Generally things like "tags" are a better fit for identifying a set of machines that should be treated as similar, rather than zones to group machines, but not actually intending them to be used as availability zones. (AZ as a concept is generally very useful, so muddying zones to have them not always mean AZ causes this sort of "I want you to treat *these* as an AZ, but not include this one".)
It is something that is technically feasible to do, but I'm quite concerned that it is layering a hack in Juju to overcome a hack in other software, thus making things more complex rather than more understandable.