Skip to content

Files

Kubernetes configuration files for the Blue-Green deployment of Week 3. The source code is on GitHub.

CI Week 3 - Blue-Green Deploy Week 3 - Switch Blue-Green Slot


FileDescription
deployment-blue.ymlBlue slot running on the main branch. The ${IMAGE_TAG} is filled in by the GitHub Actions pipeline on every push.
deployment-green.ymlGreen slot running on the development branch. Identical structure to Blue, but with slot: green.
service.ymlLoadBalancer Service that points to the Blue slot by default. Switching is done without downtime by updating the selector; both deployments keep running simultaneously.
Switching is done without downtime. Kubernetes updates the selector and immediately routes traffic to the other slot. Both deployments keep running at the same time.