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] when statefulset reserveOrdinals exist, scale down pvc failed #1530

Closed
zmberg opened this issue Mar 21, 2024 · 1 comment
Closed

[BUG] when statefulset reserveOrdinals exist, scale down pvc failed #1530

zmberg opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
kind/bug Something isn't working

Comments

@zmberg
Copy link
Member

zmberg commented Mar 21, 2024

What happened:

  1. Create StatefulSet reserveOrdinals=[0], replicas = 3, pvcTemplate = log
  2. Currently will create three pvc=log-web-1, log-web-2, log-web-3
  3. Scale down StatefulSet replicas=2, But log-web-3 also exist.
    What you expected to happen:
    Pvc log-web-3 will be deleted.
    How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • Kruise version:
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:
@furykerry
Copy link
Member

fixed by #1531

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

3 participants