You are trying to upgrade a Helm release, but no previous deployed version exists to upgrade from.
This error occurs when trying to upgrade a release that is either in FAILED or SUPERSEDED state, or when the release was never successfully deployed. Helm cannot upgrade a release without a successful deployment baseline.
View all revisions:
helm history RELEASE_NAME -n NAMESPACELook for revisions with DEPLOYED status.
Find the most recent DEPLOYED revision:
helm history RELEASE_NAME -n NAMESPACE --output json | jq '.[] | select(.status=="DEPLOYED")'If there's a previous DEPLOYED version:
helm rollback RELEASE_NAME REVISION_NUMBER -n NAMESPACEThen proceed with upgrade.
If no good revision exists, start fresh:
helm delete RELEASE_NAME -n NAMESPACE
helm install RELEASE_NAME CHART_NAME -n NAMESPACE --create-namespacePrevent this by always testing Helm installs with --dry-run first. Use Helm hooks for pre-install validation. Keep deployment procedures documented and tested. Monitor release status continuously. For production, use a GitOps tool (ArgoCD, Flux) that manages release state automatically. Always have a clear rollback plan.
Identify what caused the initial failure:
kubectl describe pod -n NAMESPACE
kubectl logs -n NAMESPACEFix the issue, then retry upgrade.