File tree Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Expand file tree Collapse file tree 4 files changed +55
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ A GitOps repository with Kubernetes tools simulating a real enterprise project.
1717 - ApplicationSet for preview PR
1818 - Argo Rollouts (Blue-Green & Canary Deployments)
1919 - Kargo for progressive rollouts between environments
20+ - Postgres DB operator
2021- ** Monitoring & Logging:**
2122 - VM Metrics
2223 - Alert Manager
@@ -41,7 +42,6 @@ A GitOps repository with Kubernetes tools simulating a real enterprise project.
4142- [ vmalertmanagerconfig] ( https://docs.victoriametrics.com/operator/resources/vmalertmanagerconfig/ )
4243- [ victoria-metrics-anomaly] ( https://github.com/VictoriaMetrics/helm-charts/tree/master/charts/victoria-metrics-anomaly )
4344- Gvizor
44- - Postgres DB operator
4545- Atlas schema migration
4646- Service mesh
4747- Crossplane
Original file line number Diff line number Diff line change 1+ apiVersion : argoproj.io/v1alpha1
2+ kind : Application
3+ metadata :
4+ name : postgres-db
5+ namespace : argocd
6+ spec :
7+ project : infra
8+ sources :
9+ - repoURL : https://github.com/Utwo/k8s-playground
10+ path : ./services/postgres-db
11+ targetRevision : HEAD
12+ destination :
13+ namespace : postgres-db
14+ name : in-cluster
15+ syncPolicy :
16+ # automated: {}
17+ syncOptions :
18+ - CreateNamespace=true
Original file line number Diff line number Diff line change 1+ apiVersion : postgresql.cnpg.io/v1
2+ kind : ScheduledBackup
3+ metadata :
4+ name : postgres-db-backup
5+ spec :
6+ schedule : " 0 0 0 * * *"
7+ immediate : true
8+ backupOwnerReference : self
9+ cluster :
10+ name : postgres-db
Original file line number Diff line number Diff line change 1+ apiVersion : postgresql.cnpg.io/v1
2+ kind : Cluster
3+ metadata :
4+ name : postgres-db
5+ spec :
6+ instances : 1
7+ imageName : ghcr.io/cloudnative-pg/postgresql:17.4
8+ bootstrap :
9+ initdb :
10+ database : app
11+ owner : app-user
12+ resources :
13+ requests :
14+ memory : " 512Mi"
15+ limits :
16+ memory : " 512Mi"
17+ storage :
18+ size : 1Gi
19+ monitoring :
20+ enablePodMonitor : true
21+ # backup:
22+ # retentionPolicy: 30d
23+ # barmanObjectStore:
24+ # destinationPath: s3://app-backup
25+ # s3Credentials:
26+ # inheritFromIAMRole: true
You can’t perform that action at this time.
0 commit comments