📄
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

Was this helpful?

  1. Blue/Green Deployment

Built-in Strategy

Blue/Green in action

PreviousConceptsNextRollback pipeline

Last updated 5 years ago

Was this helpful?

Spinnaker being originally a Netflix tool, Blue/Green deployment are called Red/Black deployment in order to reflect the company's colors.

Exercice:

Spinnaker implements Red/Black deployment using Kubernetes ReplicaSet.

Deploy new application version using Red/Black

We are going to update our application from version "red" to version "black".

  • Go back to the pipeline "build-in-strategy"

  • Select the deploy manifest stage

  • Scroll to Deploy manifest stage configuration section

  • check the box, to let spinnaker manages traffic

  • Select the namespace where did you deployed the service

  • Select the service created in the beginning of the exercise

  • Select strategy: Red/Black

  • Save the pipeline

  • run the Pipeline "build-in-strategy" with the parameter version=red

  • wait for completion

  • run the Pipeline "build-in-strategy" with the parameter version=black

  • head to the Infrastructure page during deployment in order to observe how Spinnaker handle Red/Black deployment

Great! now that we have implemented the Red/Black deployment, we need to implement the rollback pipeline