Here is docs for admin user.
Rolling update is operator-driven. Users only need to update the Redis resource, for example:
- change
spec.image - change
spec.redisConfig - change
spec.sentinelConfig - change other Pod template fields that require restart
Do not delete Pods manually. The operator updates one Pod at a time.
Basic flow:
- Update the
Redisresource. - The operator updates Redis replica Pods first, one by one.
- When only the current master Pod is left, the operator triggers
SENTINEL FAILOVER. - After the old master is no longer master, the operator deletes that old master Pod.
- After Redis Pods are updated, the operator updates Sentinel Pods one by one.
Basic flow:
- Update the
Redisresource. - The operator updates shard StatefulSets one by one in shard order.
- Inside one shard, replica Pods are updated first, one by one.
- When only the current primary Pod is left, the operator requests
CLUSTER FAILOVERon a healthy replica. - After the shard converges, the operator deletes the old primary Pod and continues with the next shard.