Kubernetes manifests and ArgoCD configuration for deploying the gitops-demo-app.
.
├── base/ # Base Kustomize resources
│ ├── deployment.yaml # App deployment with probes
│ ├── service.yaml # ClusterIP service
│ ├── configmap.yaml # Environment config
│ └── servicemonitor.yaml # Prometheus monitoring
├── environments/ # Per-environment overlays
│ ├── dev/
│ ├── staging/
│ └── prod/
├── argocd-apps/ # ArgoCD Application CRDs
│ ├── dev.yaml
│ ├── staging.yaml
│ └── prod.yaml
└── monitoring/ # Grafana dashboards & alerts
Apply ArgoCD application for an environment:
kubectl apply -f argocd-apps/dev.yamlOr apply directly with Kustomize:
kubectl apply -k environments/dev| Environment | Replicas | Auto-sync |
|---|---|---|
| dev | 1 | Yes |
| staging | 2 | Yes |
| prod | 3 | No |
- gitops-demo-app - Go application source code