Prepare A Demo Application
Use an isolated namespace, clear labels, and a workload with a PVC so the tutorials can validate both resource restore and data restore.
Example Names
| Item | Example |
|---|---|
| Source cluster | prod-a |
| Target cluster | prod-b |
| Namespace | demo-bookinfo |
| Application label | app=bookinfo |
| Repository | minio-dr |
| Backup policy | daily-backup |
| Data sync policy | datasync-5m |
| Resource sync policy | resourcesync-5m |
Create Namespace
kubectl --context prod-a create namespace demo-bookinfo
kubectl --context prod-a label namespace demo-bookinfo app=bookinfo
Deploy a workload with a Deployment or StatefulSet, Service, ConfigMap or Secret, PVC, and optionally Ingress.
Write Test Data
kubectl --context prod-a -n demo-bookinfo exec deploy/<app> -- sh -c \
'date > /data/tutorial-checkpoint.txt'
After restore or failover, verify the same file or application-level checkpoint.
Target Cluster Requirements
- Compatible StorageClass or a configured mapping.
- Required CRDs and image pull secrets.
- Access to the same object storage.
- Prepared network and image registry access for failover.