-
Notifications
You must be signed in to change notification settings - Fork 7k
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
helm upgrade --wait does not wait on newer versions #10061
Comments
Actually, it seems to be happening with all StatefulSets, also ones that have multiple replicas. Maybe because StatefulSets do not have the |
To add some context.... The wait functionality is provided by Kubernetes packages. You can find Helm's use of it at: Lines 46 to 61 in 2125137
Is the StatefulSet not ready? What version of Helm are you using? |
As I mentioned, the operation seems to correctly wait until the pods become ready on |
What version of Kubernetes are you using with this version of Helm? The changes have been in packages provided by the Kubernetes project. I wonder if there is a supported version mismatch. |
|
I have a similar issue with Deployments. Current Behavior: Expected Behavior: Command Used: Debug Logs:
Version:
|
Any new update here? |
1 similar comment
Any new update here? |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Potentially related: #10859 |
Same here, --wait argument failed to work on some of our CI/CD pipelines, however --atomic argument works fine. Tested with version 3.8.2, 3.7.2, 3.6.3 and 3.5.4. Oddly, --wait argument is only working correctly on v3.5.4. |
From the latest info here, the issue is still there for both StatefulSet and Deployment. |
I'm also seeing this. Helm version
Kubectl version
|
For anyone experiencing this issue, check the order of your helm and k8s-controller logs in the api-server. Your symptoms may be due to the race condition described in #10859 If the race condition described in the issue above is the root cause of your 'helm not waiting' behavior, then it will be resolved by #10920 |
When running
helm upgrade --install --wait --timeout 5m0s <release>
on aStatefulSet
with just one replica helm doesn't wait for pods to redeploy and become ready and just moves on. That causes the automated tests running afterwards to immediately fail as the pod redeploys in the middle of testing.This seems to happen on version 3.6.3, but works and waits correctly 3.2.4. We can downgrade helm for now, but it'd be nice not to have to micro-manage helm versions on our build agents. :(
The text was updated successfully, but these errors were encountered: