Command 'juju model-constraints'

The information in this doc is based on Juju version 3.5.3, and may not accurately reflect other versions of Juju.

See also: models, constraints, set-constraints, set-model-constraints


Displays machine constraints for a model.


Flag Default Usage
--B, --no-browser-login false Do not use web browser for authentication
--format constraints Specify output format (constraints|json|yaml)
--m, --model Model to operate in. Accepts [<controller name>:]<model name>|<model UUID>
--o, --output Specify an output file


juju model-constraints
juju model-constraints -m mymodel


Shows constraints that have been set on the model with juju set-model-constraints. By default, the model is the current model. Model constraints are combined with constraints set on an application with juju set-constraints for commands (such as ‘deploy’) that provision machines/containers for applications. Where model and application constraints overlap, the application constraints take precedence. Constraints for a specific application can be viewed with juju constraints.

Last updated 13 days ago. Help improve this document in the forum.