-
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 release stuck with status "pending-upgrade" #7476
Comments
Have you tried |
As for the release being stuck in "pending upgrade", we've seen that occur when the connection times out mid-upgrade or mid-rollback. I believe others have worked around this by manually marking the release as DEPLOYED, usually by editing the secret Helm creates to track the release ledger. This allows them to upgrade, assuming the initial upgrade completed prior to the connection timeout. It isn't recommended unless you know your release is in a good state. |
Thank you. Still finding it hard to believe that I did not enter the namespace. |
This also happened to me because my help upgrade process was interrupted. After some trial and error, a helm rollback restored my helm state i.e. |
I stumbled upon an older thread with the same issue... Apparently it is more common... The workaround as in manual rollback works, however it is no solution for an automated CI environment like Jenkins or something like that... |
Yet another one who stumbles upon this issue! During a helm upgrade from a CD system there could be a multitude of events that might end up interrupting the upgrade process. A manual rollback should be a no-go in a zero-touch environment |
Manual intervention across hundreds of automated deployments is risky. |
Hear, hear! |
One way to avoid manual rollbacks in a CI/CD setting is to run upgrade with the |
That's fair enough if you are lucky your CD job does not fail for whatever other reason (e.g., underlying compute issue, network failure, etc...) - We've not gotten around this issue just yet, and I still see this issue occurring in 1% of our deployments. |
How come the What I'm trying to figure out is what does the |
Bump. Can this issue be re-opened? It seems to be still occurring. |
This problem is relevant for us too |
This happens far too often for helm to be a reliable automation tool. Sometimes not even a rollback will work and the only other option is to completely delete the helm chart or the namespace which is just plain out unacceptable for zero downtime production workloads. |
We just observed this again with fully automated builds. My best guess is that one deployment interrupted another during |
Output of
helm version
:version.BuildInfo{Version:"v3.0.2", GitCommit:"19e47ee3283ae98139d98460de796c1be1e3975f", GitTreeState:"clean", GoVersion:"go1.13.5"}
Output of
kubectl version
:Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.3", GitCommit:"b3cbbae08ec52a7fc73d334838e18d17e8512749", GitTreeState:"clean", BuildDate:"2019-11-14T04:24:29Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.8", GitCommit:"211047e9a1922595eaa3a1127ed365e9299a6c23", GitTreeState:"clean", BuildDate:"2019-10-15T12:02:12Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"linux/amd64"}
Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AWS
I had installed Prometheus Operator around a month ago.
helm list --all-namespaces -a
The status is stuck on `pending-upgrade and I can't seem to do anything about this.
helm upgrade test . --namespace monitoring
helm list
helm delete spw-test
helm install spw-test . -n monitoring
I'd like to either get rid of this release and create a new one. Or somehow fix this so that I can do
helm upgrade
on the releaseThe text was updated successfully, but these errors were encountered: