> For the complete documentation index, see [llms.txt](https://chakch007.gitbook.io/spinnaker/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chakch007.gitbook.io/spinnaker/bluegreen/built-in-strategy.md).

# Built-in Strategy

Blue/Green in action

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

## 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

![](https://3518671160-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LycJ8Qr09hen8xsm-eC%2F-M-vFxUGpmPH-rpUe-Pq%2F-M-vJXfqgB4-o5H7H0Zi%2Fchoose_strategie.png?alt=media\&token=b9c9b131-8aba-4940-9893-fd306da4efdc)

* 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
