Add shared arrstack Valkey and wire arr apps' Redis features #394
Reference in New Issue
Block a user
Delete Branch "benvin/arrstack-valkey"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Activates the arr forks (sonarr/radarr/prowlarr) #14 Redis features — SignalR backplane, cross-replica cache-invalidation bus, and distributed rate limiter — which ship deployed but inert because no Valkey exists in arrstack and nothing is wired to it.
Changes
ValkeyCluster(arrstack-valkey) underapps/base/arrstack/valkey/, modeled onjellyfin-valkey:shards:1/replicas:2HA (one primary + two replicas, automatic failover), image via artifactapi (artifactapi.k8s.syd1.au.unkin.net/dockerhub/valkey/valkey:9.0.0), operator-default passwordlessdefaultuser, node spread across hosts, cluster-aware PDB, ephemeral/data.valkeycomponent in the arrstack base kustomization.<App>__Redis__Host+<App>__Redis__Portinto thesonarr-env/radarr-env/prowlarr-envConfigMaps, all pointing at the shared servicevalkey-arrstack-valkey.arrstack.svc.cluster.local:6379.Notes
Hostis the activation switch: the fork'sRedisOptions.IsConfiguredgates purely on a non-emptyHost, so there is no separate Enabled flag.defaultuser without auth), so noPassword/Sslis wired and there is no secret to reference.sonarr:ratelimit:/radarr:ratelimit:/prowlarr:ratelimit:), so their state never collides.image:(-unkin5), the waitfordb initContainer, and S3 buckets are untouched.kubectl kustomizerenders clean for bothapps/base/arrstackandapps/overlays/au-syd1/arrstack.Follow-up: after merge, Valkey must come up and the three apps must roll (pick up the new env) before the #14 features can be validated live.