upgrade
canasta upgrade¶
Upgrade a Canasta installation to the latest version
Synopsis¶
Upgrade a Canasta installation by updating 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. Use --skip-cli-update to skip the CLI update if needed.
Use --dry-run to preview migrations without applying them, or --all to upgrade every registered installation.
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.
Examples¶
# Upgrade a single installation
canasta upgrade -i myinstance
# Preview what would change without applying
canasta upgrade -i myinstance --dry-run
# Upgrade all registered installations
canasta upgrade --all
# Upgrade without updating the CLI
canasta upgrade -i myinstance --skip-cli-update
Options¶
| Flag | Shorthand | Description | Default |
|---|---|---|---|
--all |
`` | Upgrade all registered Canasta instances | |
--dry-run |
`` | Show what would change without applying | |
--help |
-h |
help for upgrade | |
--id |
-i |
Canasta instance ID | |
--skip-cli-update |
`` | Skip updating the CLI itself |
Options inherited from parent commands¶
| Flag | Shorthand | Description | Default |
|---|---|---|---|
--verbose |
-v |
Verbose output |
SEE ALSO¶
- canasta - A CLI tool for Canasta installations.