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] StatefulSet在开启并发模式下,scaleStrategy.maxUnavailable设置为100%会有问题 #1134

Closed
ivanszl opened this issue Nov 28, 2022 · 3 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@ivanszl
Copy link
Contributor

ivanszl commented Nov 28, 2022

What happened:
设置sts的spec.podManagementPolicy = Parallel
spec.scaleStrategy.maxUnavailable = 100%
由于修改sts的模版,导致Pod启动不了,状态一直处于pending,后续重新修改会卡住

What you expected to happen:
重新修改后会作用于所有的Pod,可以快速修复业务服务

How to reproduce it (as minimally and precisely as possible):
这个是大体调整的代码:ivanszl@27880d1
Anything else we need to know?:

Environment:

  • Kruise version:
  • Kubernetes version (use kubectl version):
  • Install details (e.g. helm install args):
  • Others:
@ivanszl ivanszl added the kind/bug Something isn't working label Nov 28, 2022
@zmberg
Copy link
Member

zmberg commented Nov 28, 2022

thanks, i will take a look at this pr.

@zmberg
Copy link
Member

zmberg commented Dec 9, 2022

#1136

@furykerry
Copy link
Member

#1136 fix this issue

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

4 participants