ezgh caches blue-green create <cache> --target-engine-version v [flags] [--wait]Create a blue/green deployment of a Valkey cache: a green copy on a newer version that follows the cache, read-only, with its own endpoint to test your clients against. --target-instance-type, --target-mode and --target-storage-size-gib change its size and mode, which is how a cache changes mode. Users you create, change or delete apply to both. A cache has one open deployment at a time.
Part of ezgh caches blue-green.
Examples
ezgh caches blue-green create wp-cache --target-engine-version 9.1 --waitFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--switchover-timeout-seconds |
int | how long a switchover waits for green to catch up, 1 to 300 (default 30) | |
--target-engine-version |
string | the newer version green runs | |
--target-instance-type |
string | green’s instance type (default the cache’s) | |
--target-mode |
string | green’s mode, memory or persistent (default the cache’s) | |
--target-storage-size-gib |
int | a persistent green’s storage, in GiB | |
--wait |
boolean | wait until green is available, and print it then | |
--wait-timeout |
duration | 10m0s |
how long --wait waits |
This command also takes the global flags.