Skip to content

deploy: use Valkey instead of Redis #668

Closed

Description

@evaline-ju

MOCA pins docker.io/redis:7-alpine across deploy/. The :7-alpine floating tag now ships Redis 8.x, under RSALv2/SSPLv1 since 7.4 — not OSI-approved. Any pin refresh adopts a license-restricted artifact.

MOCA's Redis surface is core RESP + Lua EVAL + Streams (XADD with MAXLEN): no modules, no keyspace notifications, no CLIENT TRACKING. Valkey — the Linux Foundation BSD-3 fork — supports everything MOCA uses. Verified valkey/valkey:9-alpine (9.1.3) end-to-end against a kind deployment: session state, bundle promotion, workload creation, mocactl spawn/get/subagents ledger, and leaf result storage all functional.

Deploy-side change only — no MOCA code change needed:

  • docker.io/redis → valkey/valkey in deploy/k8s/base/kustomization.yaml, deploy/k8s/base/redis.yaml, deploy/knative/redis.yaml, deploy/compose/docker-compose.yml, deploy/vm/setup-vm.sh.
  • Doc references in deploy/k8s/README.md, deploy/knative/README-{ocp,kind}.md, deploy/vm/README.md.

Existing operators on persistent Redis-8 PVCs would need BGSAVE under Redis before swap or a PVC wipe (RDB format changes across majors). Fresh deployments unaffected.

Activity

  1. linked a pull request that will close this issue:recycle: Use Valkey instead of Redis #670on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions