feat(backup): add ScheduledBackup configuration for cnpg17 clusters
这个提交包含在:
@@ -41,3 +41,19 @@ spec:
|
|||||||
parameters:
|
parameters:
|
||||||
barmanObjectName: cnpg17-objectstore-hw
|
barmanObjectName: cnpg17-objectstore-hw
|
||||||
serverName: cnpg17-cluster-hk
|
serverName: cnpg17-cluster-hk
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: ScheduledBackup
|
||||||
|
metadata:
|
||||||
|
name: cnpg17-cluster-hk-backups
|
||||||
|
namespace: infra-data
|
||||||
|
spec:
|
||||||
|
schedule: "0 0 0 * * *"
|
||||||
|
immediate: true
|
||||||
|
backupOwnerReference: self
|
||||||
|
method: plugin
|
||||||
|
pluginConfiguration:
|
||||||
|
name: barman-cloud.cloudnative-pg.io
|
||||||
|
cluster:
|
||||||
|
name: cnpg17-cluster-hk
|
||||||
@@ -41,3 +41,19 @@ spec:
|
|||||||
parameters:
|
parameters:
|
||||||
barmanObjectName: cnpg17-objectstore-hw
|
barmanObjectName: cnpg17-objectstore-hw
|
||||||
serverName: cnpg17-cluster-sh
|
serverName: cnpg17-cluster-sh
|
||||||
|
|
||||||
|
---
|
||||||
|
apiVersion: postgresql.cnpg.io/v1
|
||||||
|
kind: ScheduledBackup
|
||||||
|
metadata:
|
||||||
|
name: cnpg17-cluster-sh-backups
|
||||||
|
namespace: infra-data
|
||||||
|
spec:
|
||||||
|
schedule: "0 0 0 * * *"
|
||||||
|
immediate: true
|
||||||
|
backupOwnerReference: self
|
||||||
|
method: plugin
|
||||||
|
pluginConfiguration:
|
||||||
|
name: barman-cloud.cloudnative-pg.io
|
||||||
|
cluster:
|
||||||
|
name: cnpg17-cluster-sh
|
||||||
在新议题中引用
屏蔽一个用户