`juju diff-bundle`

Usage:

juju diff-bundle [options] <bundle file or name>

Summary:

Compare a bundle with a model and report any differences.

Global Options:

--debug  (= false)

Equivalent to --show-log --logging-config==DEBUG

-h, --help  (= false)

Show help on a command or other topic.

--logging-config (= "")

Specify log levels for modules

--quiet  (= false)

Show no informational output

--show-log  (= false)

If set, write the log file to stderr

--verbose  (= false)

Show more verbose output

Command Options:

-B, --no-browser-login  (= false)

Do not use web browser for authentication

--annotations  (= false)

Include differences in annotations

--arch (= "")

Specify an arch <all|amd64|arm64|armhf|i386|ppc64el|s390x>

--channel (= "")

Channel to use when getting the bundle from the charm hub or charm store

-m, --model (= "")

Model to operate in. Accepts `[:]|

--map-machines (= "")`

Indicates how existing machines correspond to bundle machines

--overlay  (= )

Bundles to overlay on the primary bundle, applied in order

--series (= "")

Specify a series

Details:

Bundle can be a local bundle file or the name of a bundle in the charm store. The bundle can also be combined with overlays (in the same way as the deploy command) before comparing with the model.

The map-machines option works similarly as for the deploy command, but existing is always assumed, so it doesn’t need to be specified.

Config values for comparison are always source from the “current” model generation.

Examples:

juju diff-bundle localbundle.yaml
juju diff-bundle cs:canonical-kubernetes
juju diff-bundle -m othermodel hadoop-spark
juju diff-bundle cs:mongodb-cluster --channel beta
juju diff-bundle cs:canonical-kubernetes --overlay local-config.yaml --overlay extra.yaml
juju diff-bundle localbundle.yaml --map-machines 3=4

See also:

deploy

Last updated 5 months ago.