Skip to content

Instantly share code, notes, and snippets.

@mabhi
Created January 14, 2025 07:03
Show Gist options
  • Select an option

  • Save mabhi/43fc8f71c6eab1f87bf8a16d6376913b to your computer and use it in GitHub Desktop.

Select an option

Save mabhi/43fc8f71c6eab1f87bf8a16d6376913b to your computer and use it in GitHub Desktop.
KDR policy spec include export
spec:
actions:
- action: backup
backupParameters:
filters:
includeResources:
- group: ""
version: v1
resource: persistentvolumeclaims
name: data-mysql-release-0
matchExpressions: []
excludeResources: []
- action: export
exportParameters:
exportData:
enabled: true
frequency: '@hourly'
profile:
name: am-prof
namespace: kasten-io
retention: {}
frequency: '@hourly'
retention:
daily: 72
hourly: 72
monthly: 72
weekly: 72
selector:
matchExpressions:
- key: k10.kasten.io/appNamespace
operator: In
values:
- kasten-io
subFrequency:
days:
- 1
hours:
- 0
minutes:
- 0
- 10
- 20
- 30
- 40
- 50
months:
- 1
weekdays:
- 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment