Files
Kubernetes configuration files for the Blue-Green deployment of Week 3. The source code is on GitHub.
| File | Description |
|---|---|
| deployment-blue.yml | Blue slot running on the main branch. The ${IMAGE_TAG} is filled in by the GitHub Actions pipeline on every push. |
| deployment-green.yml | Green slot running on the development branch. Identical structure to Blue, but with slot: green. |
| service.yml | LoadBalancer 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.