πŸ“šBook Signing at KubeCon EU 2026Meet us at Booking.com HQ (Mon 18:30-21:00) & vCluster booth #521 (Tue 24 Mar, 12:30-1:30pm) β€” free book giveaway!RSVP Booking.com Event
Helm intermediate ⏱ 15 minutes K8s 1.28+

Fix Helm Upgrade Failed and Rollback

Debug failed Helm releases stuck in pending-upgrade or failed state. Covers atomic upgrades, manual rollback, secret storage cleanup, and history limits.

By Luca Berton β€’ β€’ πŸ“– 5 min read

πŸ’‘ Quick Answer: Debug failed Helm releases stuck in pending-upgrade or failed state. Covers atomic upgrades, manual rollback, secret storage cleanup, and history limits.

The Problem

This is a common issue in Kubernetes helm that catches both beginners and experienced operators.

The Solution

Step 1: Check Release Status

helm list -a
# STATUS: failed, pending-upgrade, pending-install

Step 2: Fix by Status

Failed β€” rollback:

# View history
helm history my-release

# Rollback to last working revision
helm rollback my-release 3

# Or uninstall and reinstall
helm uninstall my-release
helm install my-release ./my-chart

Pending-upgrade β€” stuck release:

# Helm stores state in secrets
kubectl get secrets -l owner=helm,status=pending-upgrade

# Delete the pending secret to unblock
kubectl delete secret sh.helm.release.v1.my-release.v5

# Then retry
helm upgrade my-release ./my-chart

Prevent future failures:

# Use --atomic for auto-rollback on failure
helm upgrade --install my-release ./my-chart --atomic --timeout 10m

# Limit history to prevent secret buildup
helm upgrade my-release ./my-chart --history-max 5

Best Practices

  • Monitor proactively with Prometheus alerts before issues become incidents
  • Document runbooks for your team’s most common failure scenarios
  • Use kubectl describe and events as your first debugging tool
  • Automate recovery where possible with operators or scripts

Key Takeaways

  • Always check events and logs first β€” Kubernetes tells you what’s wrong
  • Most issues have clear error messages pointing to the root cause
  • Prevention through monitoring and proper configuration beats reactive debugging
  • Keep this recipe bookmarked for quick reference during incidents
#helm #upgrade #rollback #failed #troubleshooting
Luca Berton
Written by Luca Berton

Principal Solutions Architect specializing in Kubernetes, AI/GPU infrastructure, and cloud-native platforms. Author of Kubernetes Recipes and creator of CopyPasteLearn courses.

Kubernetes Recipes book cover

Want More Kubernetes Recipes?

This recipe is from Kubernetes Recipes, our 750-page practical guide with hundreds of production-ready patterns.

Luca Berton Ansible Pilot Ansible by Example Open Empower K8s Recipes Terraform Pilot CopyPasteLearn ProteinLens