By default, a created Redis cluster instance will evenly distribute all 16384 hash slots to all shards. However, in specific scenarios such as disaster recovery, a more flexible slot layout is often required. To this end, we support providing a custom slot distribution plan when creating an instance to meet such advanced requirements.
The primary field configured here is spec.replicas.cluster.shards. The number of items must match the value in spec.replicas.cluster.shard. The spec.replicas.cluster.shards[].slots field supports:
0-5460, 5461-10922, 10923-16383, single slots like 5461, and mixed lists like 0-1000, 1001, 1002-5461.
For the specific meaning of other fields, please refer to the API documentation.