dflow db:redis:create
Provision one Redis cache (provider redis) in the current environment.
This creates one Redis cache in the current environment. The provider id is redis. Redis has no version flag. --app can attach it to an application. If that application already has DFLOW_REDIS_* variables, the command exits 4. Linking writes DFLOW_REDIS_*.
dflow db:redis:create NAMEFlags
--storage defaults to 20Gi. A size from 1Gi through 100Gi is accepted. --app is an optional application name or id. --wait defaults to true, 15 minutes. --wait-timeout and --idempotency-key apply. Globals. There is no --version flag.
When the object store driver is s3, the new cache gets a daily backup at 02:00 UTC, five-field cron 0 2 * * *, kept 7 days. Point-in-time restore is on.
What you see
The terminal prints id, name, status, operation_id. Exit 0 when the operation succeeds.
When it fails
Exit 1: validation. Exit 2: auth. Exit 3: parent not found. Exit 4: conflict when --app already has DFLOW_REDIS_* keys. Exit 5: failed operation. Exit 6: cluster credential missing. Exit 7: wait ended. Exit 10: unreachable.
How is this guide?
Last updated on