Backing Up and Restoring Kubernetes Secrets and ConfigMaps
Configuring backups for Kubernetes Secrets and ConfigMaps
DuploCloud provides automated infrastructure-level backups of Kubernetes Secrets and ConfigMaps across all tenants. These backups support disaster recovery, helping ensure that critical configuration and secret data can be restored if a tenant or infrastructure is lost. They also protect against accidental deletion or modification and support manual restoration when needed. All backups are securely stored in AWS S3.
Configuring Backups
Backups are configured via an infrastructure setting in the DuploCloud Portal:
Navigate to Administrator -> Infrastructure.
Select the Infrastructure you want to back up Secrets and ConfigMaps for in the NAME column.
Select the Settings tab.
Click Add. The Infra - Set Custom Data pane displays.
Infra - Set Custom Data pane In the Setting Name list box, select Other.
In the Custom Setting field, enter:
ResourceBackupConfig
In the Setting Value field, enter:
{
"IsEnabled": true,
"IntervalInHours": "1",
"K8sResourceKinds": ["Secret", "ConfigMap"]
}
Click Set to save the infrastructure setting.
Accessing Backups
Backups are saved automatically at the configured interval in the following S3 bucket and path structure:
s3://backups-duplo-xx/YEAR/MONTH/DATE/xx/infra/INFRANAME/k8s/namespaces/TENANTNAMES/
Backups run automatically, reflect resource changes or deletions, persist even if tenants or infrastructure are deleted, and support multiple AWS regions. Backup operations are tracked in logs and AWS CloudTrail.
Last updated
Was this helpful?