Helm "INSTALLATION FAILED: cannot re-use a name that is still in use"
A Helm release name is unique per namespace. Running helm install with a name that already has a deployed release collides; the pipeline should upgrade that release instead of installing a new one.
What this error means
A helm install step fails with "INSTALLATION FAILED: cannot re-use a name that is still in use", because a release of that name already exists in the namespace.
helm
Error: INSTALLATION FAILED: cannot re-use a name that is still in useCommon causes
Release already installed
A prior run already installed the release; a second install collides instead of upgrading.
install used where upgrade is intended
CI hard-codes helm install for both first deploy and subsequent deploys.
How to fix it
Use upgrade --install
Make the deploy idempotent: install on first run, upgrade thereafter.
Terminal
helm upgrade --install api ./chart -n prod --waitOr remove the stale release first
- Check existing releases with
helm list -n prod. - If the release is genuinely orphaned,
helm uninstall api -n prodthen reinstall. - Prefer
upgrade --installto avoid this entirely.
How to prevent it
- Standardize on
helm upgrade --installin pipelines. - Use one release name per app per namespace.
- List releases before deploy to catch leftovers.
Related guides
Helm "UPGRADE FAILED: another operation is in progress" in CIFix Helm "UPGRADE FAILED: another operation (install/upgrade/rollback) is in progress" in CI - a previous Hel…
Helm "rendered manifests contain a resource that already exists" in CIFix Helm "rendered manifests contain a resource that already exists" in CI - the chart targets an object that…
Helm "values don't meet the specifications of the schema" in CIFix Helm values schema validation failures in CI - supplied values violate the chart's values.schema.json, so…