About This Architecture
GCP GitOps CI/CD portfolio architecture automates deployment of a Flask microservice using GitHub Actions, Docker Hub, Terraform, and ArgoCD on GKE. Developers push code to GitHub, triggering a CI pipeline that builds and tags Docker images, while Terraform provisions GCP infrastructure including VPC, subnets, and a GKE Standard cluster with two e2-medium nodes. ArgoCD watches the GitOps repository for manifest changes and auto-syncs the Flask application across three pods in the application namespace, with readiness probes and self-healing enabled. Prometheus, Grafana, and Alertmanager in the monitoring namespace provide observability dashboards tracking pod readiness, replicas, and request metrics. This architecture demonstrates production-grade GitOps best practices: infrastructure-as-code, declarative deployments, automated rollouts, and comprehensive monitoring—enabling teams to manage GCP Kubernetes clusters reliably through version-controlled Git repositories.