dragonfly

by Helm

Helm chartv1.1.2App v1.1.2

Dragonfly is a modern in-memory datastore, fully compatible with Redis and Memcached APIs.

About this chart

dragonfly

Dragonfly is a modern in-memory datastore, fully compatible with Redis and Memcached APIs.

Homepage: https://dragonflydb.io/

Source Code

Requirements

Kubernetes: >=1.23.0-0

Installing from a pre-packaged OCI

Pick a version from https://github.com/dragonflydb/dragonfly/pkgs/container/dragonfly/helm/dragonfly

E.g. VERSION=v0.15.0

helm upgrade --install dragonfly oci://ghcr.io/dragonflydb/dragonfly/helm/dragonfly --version $VERSION

Values

KeyTypeDefaultDescription
affinityobject{}Affinity for pod assignment
commandlist[]Allow overriding the container's command
extraArgslist[]Extra arguments to pass to the dragonfly binary
extraContainerslist[]Additional sidecar containers
extraObjectslist[]extra K8s manifests to deploy
extraVolumeMountslist[]Extra volume mounts corresponding to the volumes mounted above
extraVolumeslist[]Extra volumes to mount into the pods
fullnameOverridestring""String to fully override dragonfly.fullname
image.pullPolicystring"IfNotPresent"Dragonfly image pull policy
image.repositorystring"docker.dragonflydb.io/dragonflydb/dragonfly"Container Image Registry to pull the image from
image.tagstring""Overrides the image tag whose default is the chart appVersion.
imagePullSecretslist[]Container Registry Secret names in an array
initContainerslist[]A list of initContainers to run before each pod starts
nameOverridestring""String to partially override dragonfly.fullname
nodeSelectorobject{}Node labels for pod assignment
podAnnotationsobject{}Annotations for pods
podSecurityContextobject{}Set securityContext for pod itself
probes.livenessProbe.exec.command[0]string"/bin/sh"
probes.livenessProbe.exec.command[1]string"/usr/local/bin/healthcheck.sh"
probes.livenessProbe.failureThresholdint3
probes.livenessProbe.initialDelaySecondsint10
probes.livenessProbe.periodSecondsint10
probes.livenessProbe.successThresholdint1
probes.livenessProbe.timeoutSecondsint5
probes.readinessProbe.exec.command[0]string"/bin/sh"
probes.readinessProbe.exec.command[1]string"/usr/local/bin/healthcheck.sh"
probes.readinessProbe.failureThresholdint3
probes.readinessProbe.initialDelaySecondsint10
probes.readinessProbe.periodSecondsint10
probes.readinessProbe.successThresholdint1
probes.readinessProbe.timeoutSecondsint5
prometheusRule.enabledboolfalseDeploy a PrometheusRule
prometheusRule.speclist[]PrometheusRule.Spec https://awesome-prometheus-alerts.grep.to/rules
replicaCountint1Number of replicas to deploy
resources.limitsobject{}The resource limits for the containers
resources.requestsobject{}The requested resources for the containers
securityContextobject{}Set securityContext for containers
service.annotationsobject{}Extra annotations for the service
service.lablelsobject{}Extra labels for the service
service.metrics.portNamestring"metrics"name for the metrics port
service.metrics.serviceTypestring"ClusterIP"serviceType for the metrics service
service.portint6379Dragonfly service port
service.typestring"ClusterIP"Service type to provision. Can be NodePort, ClusterIP or LoadBalancer
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestring""The name of the service account to use. If not set and create is true, a name is generated using the fullname template
serviceMonitor.annotationsobject{}additional annotations to apply to the metrics
serviceMonitor.enabledboolfalseIf true, a ServiceMonitor CRD is created for a prometheus operator
serviceMonitor.intervalstring"10s"scrape interval
serviceMonitor.labelsobject{}additional labels to apply to the metrics
serviceMonitor.namespacestring""namespace in which to deploy the ServiceMonitor CR. defaults to the application namespace
serviceMonitor.scrapeTimeoutstring"10s"scrape timeout
storage.enabledboolfalseIf /data should persist. This will provision a StatefulSet instead.
storage.requestsstring"128Mi"Volume size to request for the PVC
storage.storageClassNamestring""Global StorageClass for Persistent Volume(s)
tls.certstring""TLS certificate
tls.createCertsboolfalseuse cert-manager to automatically create the certificate
tls.durationstring"87600h0m0s"duration or ttl of the validity of the created certificate
tls.enabledboolfalseenable TLS
tls.existing_secretstring""use TLS certificates from existing secret
tls.issuer.kindstring"ClusterIssuer"cert-manager issuer kind. Usually Issuer or ClusterIssuer
tls.issuer.namestring"selfsigned"name of the referenced issuer
tls.keystring""TLS private key
tolerationslist[]Tolerations for pod assignment

Autogenerated from chart metadata using helm-docs v1.11.0

Deploy dragonfly with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has dragonfly 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 is pinned at v1.1.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