dragonfly-operator

by QuenchWorks

Helm chartv0.0.2App 1.8.0Apache-2.0Verified publisher

Dragonfly Operator: run Dragonfly, the Redis- and Memcached-compatible in-memory store, from Kubernetes Dragonfly resources, with replication and failover, snapshots and TLS. The CRD ships with the chart and Dragonfly pods default to the QuenchWorks dragonfly image. Hardened by QuenchWorks: built from source, nonroot, CVE-gated, cosign-signed and pinned by digest.

About this chart

Quenchworks dragonfly-operator

The Dragonfly Operator 1.8.0 on QuenchWorks images (built from source, nonroot, CVE-gated at build, pinned by digest, cosign-signed). It runs Dragonfly, a Redis- and Memcached-compatible in-memory store, from Dragonfly resources: a primary with replicas and automatic failover, snapshots to a volume or S3, TLS and ACLs.

The chart installs the dragonflies.dragonflydb.io CRD and upstream's RBAC from the release tag, and the operator Deployment.

Install

helm install dragonfly-operator oci://ghcr.io/quenchworks/charts/dragonfly-operator -n dragonfly-operator-system --create-namespace

Values

KeyDefaultNotes
dragonflyImageour dragonfly 1.40.2--dragonfly-image: every Dragonfly without spec.image runs it; null keeps upstream's
watchCurrentNamespacefalse--watch-current-namespace
replicaCount1leader election is on; extra replicas are standbys
extraArgs[]more operator flags
rbac.createtrueupstream's ClusterRole and leader-election Role

Notes

  • Upstream's manifest runs a kube-rbac-proxy sidecar (a quay.io image) in front of the metrics port. This chart does not: metrics are plain HTTP on 8080 (Service dragonfly-operator-metrics), and the proxy's TokenReview and SubjectAccessReview permissions are left out.
  • Object names are upstream's (dragonfly-operator-*), so install it once per cluster.
  • Helm installs the CRD on first install and never upgrades or deletes it. Apply the new crds/crds.yaml yourself before upgrading across operator releases.

Deploy dragonfly-operator with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dragonfly-operator on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartdragonfly-operator is pinned at v0.0.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply