Open WizardBit opened 7 months ago
There is some information at https://juju.is/docs/juju/binding but bascially juju has spaces and charms/applications "bind" to one or more spaces. Each charm has a "bindings:" section in which you can list the spaces you want it to bind to when deployed and there is also the "default" binding '': <name>
which is what --default-binding sets. This binding defines the space units will bind to if no other bindings are defined.
That clears up a lot of confusion for me now, but would it be possible to create an alias or more detailed description for this option? Also to follow the current convention --default-binding
should be --default-binding b
like it is for name, series, and release.
--default-binding b
Default Juju space units will bind to when using Juju placement with MAAS.
yep sounds good lets get that updated
This was quite confusing for me to research and debug. I eventually found that I needed to provide a juju space name from the
juju spaces
command. Help from./generate-bundle.sh --help
does not mention anything about requiring an argument with option--default-binding
nor about a juju space.From
To
This is with Juju version 3.3.1. At first I thought it was one of the commands that got renamed with the release of Juju 3.0 but the release notes does not mention such a change.