canasta sidecar migrate
From canasta
canasta sidecar migrate
Migrate docker-compose.override.yml sidecars to config/sidecars.yaml
Synopsis
Translate sidecar services in an instance's docker-compose.override.yml into config/sidecars.yaml (the orchestrator-agnostic schema) and remove them from the override, so they gain Kubernetes support and managed lifecycle. Core-stack overrides (web/db/caddy/...) and any service that can't be fully modelled are left in the override and reported. Run canasta restart afterward to deploy the migrated sidecars.
canasta sidecar migrate [flags]
Examples
canasta sidecar migrate -i mywiki
canasta sidecar migrate -i mywiki --dry-run
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--dry-run |
Show the migration plan without writing any files | Both | |||
--id |
-i |
Canasta instance ID | * | Both | |
--path |
-p |
Path to the Canasta instance directory | Both |
* Defaults to the Canasta instance matching the current directory, if any.
Global flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |