Built-in Strategy
Blue/Green in action
Last updated
Was this helpful?
Blue/Green in action
Last updated
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.
Spinnaker implements Red/Black deployment using Kubernetes ReplicaSet.
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