Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 426 Bytes

README.md

File metadata and controls

18 lines (10 loc) · 426 Bytes

Bluegreen Deployments

Simple demo code for Blue Green Deployments

Set to blue

Using an env var; set the application to display a blue square

oc env dc/bluegreen COLOR=blue

Set to green

Same as you did above; set it to a green square with

oc env dc/bluegreen COLOR=green

Note

The app defaults to blue unless you set it to green. Any other string or empty COLOR var will default the square to blue