Update and scale
Change the owning Valkey resource. Do not edit child Cluster, Failover,
Sentinel, StatefulSet, or Service resources because reconciliation overwrites
those changes.
TOC
Scale a ClusterChange members per shardChange compute resourcesChanges that need special handlingScale a Cluster
This patch increases a Cluster from three to four shards while keeping two members in every shard:
The phase can move through Initializing and Rebalancing. Do not start another
topology change until it returns to Ready. Inspect slot progress with:
Scaling down shards moves slots and removes workloads. Confirm capacity and free memory before reducing the shard count.
For capacity planning, progress interpretation, slot verification, and failure handling, use Scale Cluster shards.
Change members per shard
The field is the total member count, not the number of replicas in addition to a primary. Values are 1–5. A value of 1 removes primary-replica redundancy.
For Failover or Replica, shards must remain 1; change only the data-member
count:
Change compute resources
Patch both requests and limits. Pod-template changes cause workload replacement:
Verify that the target nodes have enough schedulable resources before applying
the patch. Watch Pods and Events for Pending, eviction, or memory-limit
termination.
Changes that need special handling
- Change
spec.versiononly with the Upgrade Valkey procedure. Downgrades are rejected. - Treat
spec.archas immutable. Recreate and migrate data when changing architecture; the Operator has no documented in-place conversion workflow. - Treat
storageClassName, persistent volume claim (PVC) access mode, and existing PVC size as storage-platform operations. The Operator does not implement a general volume migration workflow. - Apply one topology, version, storage, or access change at a time and wait for
Readybefore the next change.