📄
Spinnaker
  • Home
  • Introduction
    • Spinnaker
    • Kubernetes Concept
    • First deployment
  • Pipeline
    • Basics
    • Configuration
    • Highlander deployment
  • Blue/Green Deployment
    • Concepts
    • Built-in Strategy
    • Rollback pipeline
    • Merge pipelines
Powered by GitBook
On this page
  • Exercice:
  • Enable previous stage:
  • Disable previous stage:

Was this helpful?

  1. Blue/Green Deployment

Rollback pipeline

Something went wrong ? Roll everything back !

PreviousBuilt-in StrategyNextMerge pipelines

Last updated 5 years ago

Was this helpful?

Exercice:

Enable previous stage:

  • 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

Disable previous stage:

  • 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