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,580 points
146 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
4,804 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
• 58,990 points
129 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,310 points
102 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
• 58,990 points
220 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
9,931 views
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 52,310 points

reshown Apr 12, 2019 by Kalgi 3,036 views