Recap of Previous Sprints
So far, we have:- A working application stored in GitHub.
- A Google Kubernetes Engine (GKE) cluster running on Google Cloud Platform (GCP).
- Hands-on experience deploying our app manually to the cluster.
| Milestone | Description | Reference |
|---|---|---|
| Code Repository | Application source managed in GitHub | GitHub Docs |
| GKE Cluster | Kubernetes cluster provisioned on GCP | GKE Concepts |
| Manual Deployment | kubectl-based deploys tested and validated | kubectl Cheat Sheet |
Why Automate Your GKE Deployments?
Automating deployments increases reliability, reduces human error, and accelerates delivery. A well-designed CI/CD pipeline will:- Build container images on every commit
- Run automated tests (unit, integration)
- Push images to Container Registry
- Deploy to GKE with zero-downtime updates
- Provide instant feedback on build or deployment failures
Consider using Google Container Registry or Artifact Registry to store and scan your Docker images.
Key Design Discussion Topics
Before writing any pipeline code, we need to decide on:| Decision Area | Considerations | Example Tools |
|---|---|---|
| CI/CD Platform | Ease of integration, native GCP support, cost | GitHub Actions, Cloud Build, Jenkins |
| Pipeline Structure | Stages for build, test, deploy, approvals | YAML-based pipelines, Helm |
| Branching Strategy | GitFlow vs. trunk-based development, pull request workflows | GitHub Flow, GitLab Flow |
| IAM & Secret Management | Service accounts, least-privilege roles, secure secret storage | Secret Manager, KMS |
| Monitoring & Rollback | Logging, metrics, health checks, automatic rollback triggers | Cloud Monitoring, Prometheus |

Goals for Sprint 03
By the end of this sprint, we aim to deliver:- A documented design for our CI/CD pipeline, including architecture diagrams and decision rationale.
- A prioritized task list covering:
- Pipeline definitions (YAML files or scripts)
- Service account creation and IAM roles
- Secret management and access controls
- Integration with Container Registry and monitoring tools