File tree 4 files changed +55
-1
lines changed
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.
17
17
- ApplicationSet for preview PR
18
18
- Argo Rollouts (Blue-Green & Canary Deployments)
19
19
- Kargo for progressive rollouts between environments
20
+ - Postgres DB operator
20
21
- ** Monitoring & Logging:**
21
22
- VM Metrics
22
23
- Alert Manager
@@ -41,7 +42,6 @@ A GitOps repository with Kubernetes tools simulating a real enterprise project.
41
42
- [ vmalertmanagerconfig] ( https://docs.victoriametrics.com/operator/resources/vmalertmanagerconfig/ )
42
43
- [ victoria-metrics-anomaly] ( https://github.com/VictoriaMetrics/helm-charts/tree/master/charts/victoria-metrics-anomaly )
43
44
- Gvizor
44
- - Postgres DB operator
45
45
- Atlas schema migration
46
46
- Service mesh
47
47
- 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