Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Redis cluster does not automatically reshuffle slots when scaling in a shard. #8520

Open
wangyelei opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@wangyelei
Copy link
Contributor

Describe the bug
no reshard the slots

To Reproduce
Steps to reproduce the behavior:

  1. kbcli kb install --version 1.0.0-beta.6
  2. create cluster
apiVersion: apps.kubeblocks.io/v1
kind: Cluster
metadata:
  name: redis
spec:
  shardings:
  - name: shard
    shards: 3
    template:
      componentDef: redis-cluster-7-1.0.0-alpha.0
      disableExporter: true
      name: redis
      replicas: 2
      resources:
        limits:
          cpu: 500m
          memory: 512Mi
        requests:
          cpu: 500m
          memory: 512Mi
      serviceVersion: 7.2.4
      systemAccounts:
      - name: default
        passwordConfig:
          length: 10
          letterCase: MixedCases
          numDigits: 5
          numSymbols: 0
          seed: redis
      volumeClaimTemplates:
      - name: data
        spec:
          accessModes:
          - ReadWriteOnce
          resources:
            requests:
              storage: 20Gi
  terminationPolicy: Deletex

  1. add shards to 4 than scale-in to 3
@wangyelei wangyelei added the kind/bug Something isn't working label Nov 25, 2024
@wangyelei wangyelei assigned Y-Rookie and wangyelei and unassigned Y-Rookie Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants