dragonfly
Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS…
Skill by Aidas-dev
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aidas-dev-dragonfly
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/dragonfly
What's inside
- Skill name
dragonfly- Description
- Use when working with DragonflyDB operator on Kubernetes — creating or troubleshooting Dragonfly resources, configuring replication, snapshots, TLS, authentication, or affinity/scheduling for Dragonfly instances.
- License
- MIT
- Instructions
- 191 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# DragonflyDB Operator
## Overview
Dragonfly operator manages Dragonfly (Redis-compatible) in-memory data store instances on Kubernetes. API: `dragonflydb.io/v1alpha1`. Single CRD: `Dragonfly` (plural: `dragonflies`). Deployed via Helm chart `oci://ghcr.io/dragonflydb/dragonfly-operator/helm/dragonfly-operator`. Latest operator: **v1.5.0** (Mar 2026). Deployed chart: v1.5.0.
## CRD Fields
| Field | Type | Since | Description |
|-------|------|-------|-------------|
| `replicas` | int | — | Total instances (1 = standalone primary, 2 = 1 primary + 1 replica) |
| `image` | string | — | Dragonfly image (default: `docker.dragonflydb.io/dragonflydb/dragonfly:v1.21.2`) |
| `args` | []string | — | Dragonfly server args (e.g. `--maxmemory=2gb`) |
| `resources` | ResourceRequirements | — | Container CPU/memory |
| `affinity` | Affinity | — | Pod affinity (nodeAffinity, podAntiAffinity, etc.) |
| `nodeSelector` | map | v1.1.1 | Node selector for pod scheduling |
| `tolerations` | []Toleration | — | Pod tolerations |
| `topologySpreadConstraints` | []TopologySpreadConstraint | v1.1.1 | Spread pods across topology domains |
| `annotations` | object | — | Annotations on Dragonfly pods |
| `labels` | object | — | Labels on Dragonfly pods |
| `env` | []EnvVar | — | Environment variables |
| `authentication.passwordFromSecret` | SecretKeySelector | — | Password from Secret key |
| `authentication.clientCaCertSecret` | SecretReference | — | Client CA certificate Secret |
| `tlsSecretRef` | SecretReference | — | TLS cert Secret for server TLS |
| `snapshot.cron` | string | — | Cron schedule for snapshots (e.g. `"\*/5 * * * *"`) |
| `snapshot.persistentVolumeClaimSpec` | PVC Spec | — | PVC for snapshot storage |
| `aclFromSecret` | SecretKeySelector | v1.1.1 | ACL file from Secret |
| `serviceAccountName` | string | — | Pod service account |
| `serviceSpec.type` | string | — | Service type (ClusterIP, LoadBalancer, etc.) |
| `serviceSpec.name` | string | v1.1.3 | Custom service name |
| `serviceSpec.annotations` | object | — | Service annotations |
| `priorityClassName` | string | v1.1.1 | Pod priority class |
| `skipFSGroup` | bool | v1.1.2 | Skip FSGroup assignment (OpenShift) |
| `memcachedPort` | int | v1.1.2 | Memcached port (alternative to `--memcached_port` arg) |
| `additionalContainers` | []Container | — | Sidecar containers |
| `additionalVolumes` | []Volume | — | Extra volumes |
## Dragonfly Spec Patterns
```yaml
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: my-cache
spec:
replicas: 1 # 1 = standalone primary
args:
- --maxmemory=2gb
- --logtostderr
- --cluster_mode=emulated # Enable cluster-compatible mode
- --lock_on_hashtags # Hashtag-based locking
- --default_lua_flags=allow-undeclared-keys
resources:
requests:
cpu: 500m
memory: 1Gi
limits:
cpu: "1"
memory: 2Gi
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- worker-01
authentication:
passwordFromSecret:
name: dragonfly-password
key: password
snapshot:
cron: "*/5 * * * *"
persistentVolumeClaimSpec:
accessModes:
- ReadWriteOnce
storageClassName: ceph-block
resources:
requests:
storage: 2Gi
serviceSpec:
type: ClusterIP
annotations:
external-dns.alpha.kubernetes.io/hostname: dragonfly.example.com
```
## Replication Model
- `replicas=1` — standalone primary
- `replicas=2` — 1 primary + 1 replica
- `replicas=3` — 1 primary + 2 replicas
- **Always exactly 1 primary** regardless of replica count
- Operator manages automatic failover if primary fails
- Service `<name>.<ns>.svc.cluster.local` always points to current primary
## Authentication
| Method | Config | Description |
|--------|--------|-------------|
| Password | `authentication.passwordFromSecret` | Basic password auth (maps to `--requirepass`) |
| Client CA | `authentication.clientCaCertSecret` | TLS client cert verification |
| ACL file | `aclFromSecret` | ACL rules file from Secret (v1.1.1+) |
Password can also be set via `args: ["--requirepass=<pw>"]` or `env: [{name: DFLY_requirepass, value: "<pw>"}]`.
## TLS
```yaml
spec:
tlsSecretRef:
name: dragonfly-tls # Secret must have tls.crt, tls.key
```From Aidas-dev/k8s-agent-skills, MIT.
More from Aidas-dev/k8s-agent-skills
- 0.569score
harbor-terraform
Aidas-dev
Use when managing Harbor infrastructure as code with Terraform — projects, robot accounts, registries, replication rules, retention policies, webhooks, users…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-webhooks
Aidas-dev
Use when managing Gitea webhooks — creating webhooks via API, understanding event types, system vs repo vs org webhooks, payload verification with…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-api
Aidas-dev
Use when working with the Harbor REST API v2 — project management, artifact operations, robot accounts, replication, vulnerability scanning, OIDC/LDAP config…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
atlas
Aidas-dev
Use when working with Atlas Operator on Kubernetes — creating or troubleshooting AtlasSchema or AtlasMigration resources; configuring DevDB, migration…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cilium-gateway
Aidas-dev
Use when creating Gateway API resources for ingress, configuring TLS termination or passthrough, setting up HTTP-to-HTTPS redirect or traffic splitting…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cilium-network
Aidas-dev
Use when configuring Cilium CNI networking, writing network policies, debugging pod connectivity issues, setting up LB IPAM or L2 announcements for Service…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cnpg
Aidas-dev
Use when working with CloudNativePG (CNPG) for PostgreSQL on Kubernetes — creating or troubleshooting Cluster, Backup, ScheduledBackup, Pooler, or…
SkillBFreshness: B★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Jul 16, 2026 (3 months ago)
- Last release
- Aug 14, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Aidas-dev/k8s-agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Aidas-dev
- 0.569score
flux
Aidas-dev
Use when working with Flux CD — debugging live clusters, writing/auditing Flux resources, or asking Flux CD questions.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-runner
Aidas-dev
Use when configuring Gitea Actions runners — registration, deployment modes, Docker vs host mode, Talos/Kubernetes host-mode, ephemeral runners, and v1.26…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
gitea-tea
Aidas-dev
Work with Gitea using tea CLI for auth, repo, issue, pull request, release, actions, webhook, and notification workflows.
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
harbor-helm
Aidas-dev
Use when deploying, configuring, or upgrading Harbor on Kubernetes via Helm chart — values configuration, external database, TLS/certificates, storage…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
atlas
Aidas-dev
Use when working with Atlas Operator on Kubernetes — creating or troubleshooting AtlasSchema or AtlasMigration resources; configuring DevDB, migration…
SkillBFreshness: B★ 4Claude Code +9 - 0.569score
cert-manager
Aidas-dev
Use when creating or managing cert-manager CRDs — Certificate, Issuer, ClusterIssuer, CertificateRequest.
SkillBFreshness: B★ 4Claude Code +9
Cite this page
dragonfly skill. Agent Mart. https://agentmart.dev/skills/aidas-dev-dragonfly (last updated 2026-10-24)