Rollback pipeline
Something went wrong ? Roll everything back !
Last updated
Was this helpful?
Something went wrong ? Roll everything back !
Last updated
Was this helpful?
Create a new pipeline named "Rollback"
Add new Stage
Choose stage type enable manifest
.
You can name the stage : Enable previous version
In the Enable (Manifest) Configuration
:
Select the namespace where you deployed your application
Select ReplicaSet as Kind
Choose a Choose a target dynamically
Select your replicaSet in the Cluster section
Choose Second Newest
as Target
Add new Stage
Choose stage type disable manifest
.
Make sure that this stage depend on Enable previous version
You can name the stage : disable newest version
In the Disable (Manifest) Configuration
:
Select the namespace where did you deployed your application
Select ReplicaSet as KindChoose a Choose a target dynamically
Select your replicaSet in the Cluster section
Choose Newest
as Target
Save the pipeline
Run the pipeline
In the infrastructure section, you can see that the black version is disabled and the red one is enabled