Helm locks a release through the revision with status pending-install or pending-upgrade. If Helm dies hard – a CI runner killed with SIGKILL, for example – the lock stays, and the next upgrade fails with this message.
Symptom
helm upgrade l ./helper -n tag19 --set image.tag=2.26.0 2>&1 | tail -1 Error: UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress
The cluster may already be in the state of the aborted upgrade – in the course the Deployment is already running the broken image.
Diagnosis
Read the history and check that no Helm is really still running – not even in another pipeline.
helm history l -n tag19 --max 2 pgrep -a helm || echo "kein helm-Prozess" REVISION UPDATED STATUS ... DESCRIPTION 2 Fri Nov 20 07:26:19 2026 deployed ... Upgrade complete 3 Fri Nov 20 07:26:23 2026 pending-upgrade ... Preparing upgrade kein helm-Prozess
Causes
pending-upgradeUpgrade killed hard
Helm was killed during an upgrade with --wait. Revision 3 stays as pending-upgrade – the orphaned lock.
helm upgrade l ./helper -n tag19 --set image.tag=2.98.0 --wait --timeout 5m \ >/dev/null 2>&1 & sleep 4; kill -9 $!
pending-installFirst install killed hard
The same lock during installation. There is no good revision a rollback could go back to.
helm history pi -n tag19 helm rollback pi -n tag19 2>&1 | tail -1 REVISION UPDATED STATUS ... DESCRIPTION 1 Fri Nov 20 07:26:39 2026 pending-install ... Initial install underway Error: release has no 0 version
Second pipelineA Helm really is still running
Then the lock is justified. That is why you check before any repair whether a Helm process or another pipeline is still working on the same release.
Fix
helm rollback l 2 -n tag19 --wait --description "pending-upgrade aufgelöst" helm history l -n tag19 --max 3 Rollback was a success! Happy Helming! REVISION ... STATUS ... DESCRIPTION 2 ... superseded ... Upgrade complete 3 ... pending-upgrade ... Preparing upgrade 4 ... deployed ... pending-upgrade aufgelöst
Don't: Deleting all release secrets. That deletes Helm's memory – the release is unknown, the objects keep running without an owner.
Helm Charts hands-on, day 19: troubleshooting – resolving stuck and failed releases, taking over foreign objects, fixing API errors.
Go to day 19 →
FAQ
How do I find stuck releases across the cluster?
helm list -A --failed --pending shows all releases whose current revision is failed or pending-*.
Does deleting the pending secret repair the Deployment?
No, nothing changes in the cluster. Only the next upgrade brings the Deployment to the right state.
How do I prevent it?
Only one pipeline per release at a time, and a --timeout shorter than the CI job timeout.