How to remove a model

See also:

To remove a model, along with any associated machines and applications:

juju destroy-model <model-name>

You will always be prompted to confirm this action. Use the -y option to override this.

Additionally, if there is persistent storage in the model you will be prompted to either destroy or release the storage, using the --destroy-storage or --release-storage options respectively.

For example:

juju destroy-model -y --destroy-storage beta

As a last resort, use the --force option (in v.2.6.1).

Last updated 9 months ago.