CLI:Canasta upgrade
canasta > upgrade
canasta upgrade
Upgrade the Canasta CLI and all registered installations
Synopsis
Upgrade the Canasta CLI binary and all registered installations.
Each installation is updated by refreshing configuration files, pulling the latest container images, running any necessary migrations, and restarting the containers.
The CLI itself is also updated to the latest version before upgrading instances. Dev builds (compiled without version ldflags) skip the CLI self-update automatically.
If an installation fails to upgrade, the error is printed and the remaining installations are still upgraded. A summary at the end reports how many succeeded.
Use --dry-run to preview migrations without applying them.
Installations created with --build-from automatically rebuild the Canasta image from the stored source path during upgrade. For Kubernetes installations created with a kind cluster or custom registry, the rebuilt image is automatically distributed using the stored configuration.
canasta upgrade [flags]
Examples
# Upgrade the CLI and all installations canasta upgrade # Preview what would change without applying canasta upgrade --dry-run
Flags
| Flag | Shorthand | Description | Default | Required |
|---|---|---|---|---|
--dry-run |
Show what would change without applying | |||
--help |
-h |
help for upgrade | ||
--verbose |
-v |
Verbose output |