-
Notifications
You must be signed in to change notification settings - Fork 40k
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
StatefulSet never successfully rolled out #68573
Comments
@kubernetes/sig-apps-bug |
@kubernetes/sig-cli-bug |
/sig apps |
Might be related to this: #52653 I'm hitting this as well with the following client/server configuration:
|
/area stateful-apps |
I've hit this on:
It's a major issue for my customer atm. |
This should be fixed with #67817 which is in the 1.12 release. I am able to reproduce the problem with pre-1.12 releases, but it works well with the code that is in master. I think this issue was caused by the handling of events in kubectl, which used to fetch the state of the StatefulSet from the APIserver instead of using the state from the events. This lead to a situation where kubectl never observed the state where both .Status.ReadyReplicas and .Status.UpdatedReplicas reached the expected number of replicas before the value of .Status.UpdatedReplicas was reset to 0. |
/assign |
/close |
@mortent: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
Statefulset does not seem to ever finish rolling out when checking with
kubectl rollout status sts/x
:What you expected to happen:
The command to show "successfully rolled out" as it does for deployments:
We expect the command to exit as we're depending on that to move onto the next step of the script/job.
How to reproduce it (as minimally and precisely as possible):
I wish I could share my manifest but it's not cleaned up at this time.
Anything else we need to know?:
sts manifest snippet:
Ordered output of when I
kubectl edit statefulset prometheus
:As you can see, it just becomes "Waiting for partitioned roll out to finish" when all changes have been applied.
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: