feat(cnpg): wal归档周期修改
这个提交包含在:
@@ -1,9 +0,0 @@
|
||||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Backup
|
||||
metadata:
|
||||
name: cnpg-cluster-hk-backup
|
||||
namespace: infra-data
|
||||
spec:
|
||||
cluster:
|
||||
name: cnpg-cluster-hk
|
||||
|
||||
@@ -18,8 +18,11 @@ spec:
|
||||
enableSuperuserAccess: true
|
||||
storage:
|
||||
size: 10Gi
|
||||
postgresql:
|
||||
parameters:
|
||||
archive_timeout: 30min
|
||||
backup:
|
||||
retentionPolicy: "7d"
|
||||
retentionPolicy: 7d
|
||||
barmanObjectStore:
|
||||
destinationPath: s3://devcm/cnpg/
|
||||
endpointURL: https://obs.cn-east-3.myhuaweicloud.com
|
||||
|
||||
@@ -18,8 +18,11 @@ spec:
|
||||
enableSuperuserAccess: true
|
||||
storage:
|
||||
size: 10Gi
|
||||
postgresql:
|
||||
parameters:
|
||||
archive_timeout: 30min
|
||||
backup:
|
||||
retentionPolicy: "7d"
|
||||
retentionPolicy: 7d
|
||||
barmanObjectStore:
|
||||
destinationPath: s3://devcm/cnpg/
|
||||
endpointURL: https://obs.cn-east-3.myhuaweicloud.com
|
||||
|
||||
在新议题中引用
屏蔽一个用户