Cluster component
Dragonfly Operator
Runs Dragonfly, a Redis-compatible store, with replicas and snapshots, under a licence that is not open source.
- Memory when idle
- about 20 MiB
- CI measures it once the app is ready and before any traffic. Leave room for more.
- Tested on
- x86 and ARM servers
- Installed by default
- Optional
Introduction
Dragonfly Operator runs Dragonfly, a Redis-compatible in-memory store, from a Dragonfly object: a primary with replicas, failover, and snapshots to a volume. Install it when projects need a Redis-compatible store.
The operator is Apache-2.0. The Dragonfly images it runs are BUSL-1.1, which is source-available and not an OSI-approved open-source licence. Read its restrictions before you use it, especially if you offer hosted database services to others.
The operator manages Pods, StatefulSets, Services and PodDisruptionBudgets for Dragonfly objects in every namespace. A kube-rbac-proxy container guards its metrics port.
Use it
In Zeabur OSS, open a project’s Add menu and choose Dragonfly. Set the storage, then connect services. Dragonfly has no Backups tab. It keeps snapshots on its volume and loads the newest one when it starts. See Create, back up, and restore databases.
Templates that need it
Remove it
Removing the operator leaves the CRD in place, and with it every Dragonfly object. Nothing manages those objects until the operator is back. Zeabur OSS refuses to remove the component while Dragonfly objects exist. Delete the databases you no longer need first. See Remove components.
Troubleshooting
A database never becomes Ready
Check the object with kubectl -n <namespace> get dragonfly <name> and its Pods with kubectl -n <namespace> get pods. Read the operator’s logs with kubectl -n dragonfly-operator-system logs deploy/dragonfly-operator -c manager.
Technical details
This release
- Provides
- databases
- Licence
- Apache-2.0 AND BUSL-1.1
- Homepage
- dragonflydb.io
Tested in CI
CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.
| Distribution | Platform | Kubernetes | Passed | Idle memory |
|---|---|---|---|---|
| k3s | linux/amd64 | v1.37.2 | 20 MiB | |
| k3s | linux/arm64 | v1.37.2 | 19 MiB | |
| kind | linux/amd64 | v1.37.0 | 21 MiB | |
| kind | linux/arm64 | v1.37.0 | 20 MiB | |
| kubesolo | linux/amd64 | v1.36.6 | 19 MiB | |
| kubesolo | linux/arm64 | v1.36.6 | 21 MiB | |
| rke2 | linux/amd64 | v1.37.2 | 24 MiB | |
| rke2 | linux/arm64 | v1.37.2 | 22 MiB |
Security
Manages pods, StatefulSets, Services and PDBs for Dragonfly objects in every namespace.
What it installs
- dragonfly-operator v1.7.1