When Deployment is editing replicas and strategy simultaneously, it may get stuck and not continue to execute #125568
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
sig/apps
Categorizes an issue or PR as relevant to SIG Apps.
What happened?
When Deployment is editing replicas and strategy simultaneously, it may get stuck and not continue to execute
What did you expect to happen?
deployment continue upgrade or scaled
How can we reproduce it (as minimally and precisely as possible)?
to make two active replicasets appear at the same time.
Anything else we need to know?
Deployment will get stuck because of these few lines of code.
https://github.com/kubernetes/kubernetes/blob/64355780d9d945a1135a004829ab9dcc38c3911d/pkg/controller/deployment/deployment_controller.go#L665C2-L671C3
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: