made changes for consistency
This commit is contained in:
48
@
Normal file
48
@
Normal file
@@ -0,0 +1,48 @@
|
||||
apiVersion: oadp.openshift.io/v1alpha1
|
||||
kind: DataProtectionApplication
|
||||
metadata:
|
||||
name: dpa-minio
|
||||
namespace: openshift-adp
|
||||
spec:
|
||||
backupImages: false
|
||||
|
||||
backupLocations:
|
||||
- name: default
|
||||
velero:
|
||||
provider: aws
|
||||
default: true
|
||||
credential:
|
||||
name: cloud-credentials
|
||||
key: cloud
|
||||
objectStorage:
|
||||
bucket: oadp
|
||||
prefix: velero
|
||||
config:
|
||||
profile: default
|
||||
region: ap-southeast-2
|
||||
s3ForcePathStyle: "true"
|
||||
s3Url: http://minio.minio.svc.cluster.local:9000
|
||||
insecureSkipTLSVerify: "true"
|
||||
|
||||
configuration:
|
||||
nodeAgent:
|
||||
enable: true
|
||||
uploaderType: kopia
|
||||
velero:
|
||||
defaultPlugins:
|
||||
- openshift
|
||||
- aws
|
||||
- csi
|
||||
- kubevirt
|
||||
defaultSnapshotMoveData: true
|
||||
disableFsBackup: false
|
||||
podConfig:
|
||||
resourceAllocations:
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "512Mi"
|
||||
requests:
|
||||
cpu: "100m"
|
||||
memory: "256Mi"
|
||||
|
||||
logFormat: text
|
||||
@@ -4,8 +4,7 @@ metadata:
|
||||
name: daily-config
|
||||
namespace: openshift-adp
|
||||
spec:
|
||||
# Run at 02:00 daily AEST
|
||||
schedule: "0 15 * * *"
|
||||
schedule: "0 02 * * *"
|
||||
|
||||
# Make backups readable, sortable, unique
|
||||
nameTemplate: "{{ .ScheduleName }}-{{ .Timestamp }}"
|
||||
@@ -18,5 +17,4 @@ spec:
|
||||
snapshotVolumes: false
|
||||
defaultVolumesToFsBackup: false
|
||||
|
||||
# Retain for one week (adjust later)
|
||||
ttl: 336h
|
||||
|
||||
2
dpa.yaml
2
dpa.yaml
@@ -34,7 +34,7 @@ spec:
|
||||
- aws
|
||||
- csi
|
||||
- kubevirt
|
||||
defaultSnapshotMoveData: true
|
||||
defaultSnapshotMoveData: false
|
||||
disableFsBackup: false
|
||||
podConfig:
|
||||
resourceAllocations:
|
||||
|
||||
@@ -4,10 +4,8 @@ metadata:
|
||||
name: daily-stateful
|
||||
namespace: openshift-adp
|
||||
spec:
|
||||
# Run at 04:00 (after config-only) AEST
|
||||
schedule: "0 16 * * *"
|
||||
schedule: "0 03 * * *"
|
||||
|
||||
# Timestamped names for long-term retention
|
||||
nameTemplate: "{{ .ScheduleName }}-{{ .Timestamp }}"
|
||||
|
||||
template:
|
||||
@@ -19,13 +17,10 @@ spec:
|
||||
- n8n
|
||||
- apim
|
||||
- gitea-ci
|
||||
- vm-project
|
||||
|
||||
# add others here as needed
|
||||
|
||||
# No CSI snapshots; use nodeAgent/restic only
|
||||
# No CSI snapshots; use nodeAgent/kopia only
|
||||
snapshotVolumes: false
|
||||
defaultVolumesToFsBackup: true
|
||||
|
||||
# Retain a bit longer
|
||||
ttl: 336h # 30 days
|
||||
ttl: 336h
|
||||
|
||||
Reference in New Issue
Block a user