Disabled cloudnative-pg backup and switched to using the crd directly
This commit is contained in:
14
common/postgres/cluster.yaml
Normal file
14
common/postgres/cluster.yaml
Normal file
@@ -0,0 +1,14 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Cluster
|
||||
metadata:
|
||||
name: -db
|
||||
spec:
|
||||
instances: 2
|
||||
|
||||
storage:
|
||||
size: 8Gi
|
||||
storageClass: topolvm-provisioner
|
||||
|
||||
affinity:
|
||||
topologyKey: kubernetes.io/hostname
|
||||
podAntiAffinityType: required
|
||||
Reference in New Issue
Block a user