Blue/Green deployment using Manifest
Last updated
Last updated
Blue/green strategy is a deployment strategy that is designed to minimize risk by gradually copying the contents of the old server group onto the new before disabling the old server group.
Using a Blue/Green (AKA a red/black) Deployment strategy is easy, as Spinnaker natively supports a Blue/green strategy.
To use a Blue green Strategy,
Go to Application Dashboard: When you log in to ISD the application dashboard is displayed with the list of applications. You can create a new application also as given in create a new application.
Click on the application for which you want to build this pipeline.
Pipelines: Once you click on an application, it will redirect you to the Pipelines page. Click +Create button to create a new pipeline. Users can also view the existing pipelines displayed on the left.
Click on Add stage: The add stage button is displayed below the diagrammatic representation of the created pipeline. When you click this button, you can select the different types of stages that ISD supports.
Select Deployment: You can add a host of different stages from the Type drop down menu. They are all alphabetically sorted. Scroll down and select Deploy(Manifest).
Select your account: An account is the name given to a kubernetes cluster.
Select your namespace: A namespace is a specific address within a Kubernetes cluster, select the checkbox that says override namespace and you will be able to select the namespace in which your manifest will deploy.
Select rollout strategy options: Click on the checkbox Spinnaker manages your traffic based on your selected strategy. Define the Service(s) namespace and Service(s) you are applying to this strategy as shown in below screen.
Select your strategy from the drop-down list, you will find the Red/black strategy.
Add additional configurations: Finalize your configurations and click Save Changes.