Open Source
All templates and components

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

Tested in CI

CI installs these exact files on a new cluster, waits until they are ready, then records the idle memory.

DistributionPlatformKubernetesPassedIdle memory
k3slinux/amd64v1.37.220 MiB
k3slinux/arm64v1.37.219 MiB
kindlinux/amd64v1.37.021 MiB
kindlinux/arm64v1.37.020 MiB
kubesololinux/amd64v1.36.619 MiB
kubesololinux/arm64v1.36.621 MiB
rke2linux/amd64v1.37.224 MiB
rke2linux/arm64v1.37.222 MiB

Security

Manages pods, StatefulSets, Services and PDBs for Dragonfly objects in every namespace.

What it installs

  • dragonfly-operator v1.7.1

Templates that need it