How to automate the rollback of deployment when it fails using helm and without timeout

0 votes
Hello guys,

Can anyone help on how to automate the rollback of deployment when it fails using helm and without timeout?
Sep 18, 2020 in Kubernetes by Karan
• 19,610 points
1,465 views

1 answer to this question.

0 votes

As it turns out, there is an undocumented option to rollback to the last successful release by defining the target release version as 0. like: 

helm rollback <RELEASE> 0

Source: https://github.com/helm/helm/issues/1796

answered Sep 18, 2020 by Kim

Related Questions In Kubernetes

0 votes
1 answer

How to start and stop a cluster on AWS using kops without stopping the instance

Export your KOPS_STAT_STORE variable export KOPS_STATE_STORE=s3://your-bucket-name Get your instances ...READ MORE

answered Jan 8, 2019 in Kubernetes by Kashish
9,370 views
0 votes
1 answer

How to determine what is the status of a deployment ?

You could use kubectl get deployment <deployment>.  If ...READ MORE

answered Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
660 views
0 votes
1 answer

Is it possible to access GCP resources using api without a user interaction.?

yes that's totally possible. You'd have to create ...READ MORE

answered Sep 19, 2018 in Kubernetes by Kalgi
• 52,350 points
705 views
0 votes
1 answer
0 votes
1 answer

How to rollback a deployment?

Applying changes to a Deployment process with ...READ MORE

answered Jul 12, 2019 in Kubernetes by Sirajul
• 59,230 points
1,289 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,474 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,396 views
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