How to fix UPGRADE FAILED in Kubernetes
A Helm upgrade operation failed, leaving the release in a failed state. The application may be partially updated.
Quick fix
Fixes UPGRADE FAILED
helm upgrade RELEASE CHART -n NAMESPACE- Check upgrade error details
- Verify chart values and syntax
- Check cluster resources
- Rollback the failed upgrade
helm upgrade RELEASE CHART -n NAMESPACEUPGRADE FAILED
What this error means
When helm upgrade fails (e.g., validation error, image pull failure), the release enters a FAILED state. This is different from rolling back automatically—Helm stops the upgrade and leaves resources in an inconsistent state. You must either fix and retry the upgrade or explicitly rollback.
Typical symptoms
- helm upgrade returns non-zero exit code
- helm status shows "FAILED" status
- Partial changes applied to cluster
- Pods may be in various states
- Next helm upgrade also fails
- Release cannot be deleted until fixed
Common causes
- Invalid Helm chart values or syntax errors
- Container image cannot be pulled
- Insufficient resources (CPU, memory, disk)
- Image registry authentication failure
- PVC cannot be created or resized
- Webhook validation rejection
How to fix "UPGRADE FAILED"
View the full error:
helm upgrade RELEASE CHART -n NAMESPACERead the error message for the root cause.
Test the chart locally:
helm template RELEASE CHART -n NAMESPACE -f values.yaml
helm lint CHARTFix any syntax errors.
Verify nodes have sufficient resources:
kubectl top nodes
kubectl describe nodes | grep -A5 "Allocatable"Revert to the last working version:
helm rollback RELEASE -n NAMESPACE
# Or rollback to specific revision
helm rollback RELEASE 2 -n NAMESPACEAfter fixing the underlying issue:
helm upgrade RELEASE CHART -n NAMESPACE -f fixed-values.yamlAdvanced notes
Use helm upgrade --dry-run first to validate changes without applying them. Implement pre-upgrade checks (Helm hooks) to validate readiness. For production, use --wait flag to ensure resources are ready before considering upgrade complete. Monitor release status with helm status RELEASE --wait. Document rollback procedures in your runbook.
Frequently asked questions
- What does "UPGRADE FAILED" mean?
- , validation error, image pull failure), the release enters a FAILED state. This is different from rolling back automatically—Helm stops the upgrade and leaves resources in an inconsistent state. You must either fix and retry the upgrade or explicitly rollback.
- How do I fix "UPGRADE FAILED"?
- A Helm upgrade operation failed, leaving the release in a failed state. The application may be partially updated.
- What causes "UPGRADE FAILED"?
- Invalid Helm chart values or syntax errors Container image cannot be pulled Insufficient resources (CPU, memory, disk)
- Is the "UPGRADE FAILED" error serious?
- Yes. This is a high-severity error that usually blocks work until it is fixed, but the steps above resolve it.
Official resources & further reading
- 📚Kubernetes Official Documentation
- 📖Helm: helm upgrade(Official Docs)
- 📖Helm: helm rollback(Official Docs)
- 📖Helm: Chart Hooks(Official Docs)