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 in Kubernetes by Karan
• 18,400 points
35 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 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,073 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,130 points
105 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
• 51,970 points
82 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,130 points
166 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
8,728 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
• 51,970 points

reshown Apr 12, 2019 by Kalgi 2,631 views