Error UPGRADE FAILED failed to create resource namespaces pr-1627-app not found

0 votes

Hi Guys,

I am trying to upgrade my environment in my Minikube Cluster using Helm. But it is showing me the below error.

$ helm upgrade --install pr-1627-app-pull-secret cloudposse-incubator/dockercfg --version 0.1.0 --namespace pr-1627-app --wait --timeout=600 --force --reset-values --kube -context us-west-2-staging-example-com
Error: UPGRADE FAILED: failed to create resource: namespaces "pr-1627-app " not found

How can I solve this error?

Jul 9, 2020 in Kubernetes by akhtar
• 38,260 points
3,458 views

1 answer to this question.

0 votes

Hi@akhtar,

This usually happens when the state of the resources in the Kubernetes cluster does not match what Helm knows about. Here the namespace had been deleted without first deleting the helm releases. So helm attempted to perform an upgrade on a non-existent resource.

To fix this, simply delete the errant helm release. In this case, we would run the following command to delete the pr-1627-app helm release.

$ helm delete --purge pr-1627-app

I hope this will help.

answered Jul 9, 2020 by MD
• 95,460 points

Related Questions In Kubernetes

0 votes
1 answer
0 votes
1 answer

Failed to create cluster-role

To overcome this, you must grant your ...READ MORE

answered Aug 30, 2018 in Kubernetes by Kalgi
• 52,350 points
783 views
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,488 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,041 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP