CNTRLPLANE-2685, CNTRLPLANE-2707: integrate HCPEtcdBackup lifecycle into OADP backup flow #238
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 350 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.351
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #238"
general
weight: 0.35
tony-schndr
Summary
Adds
etcdSnapshotas a new etcd backup method for HyperShift HostedClusters. This PR covers only the backup flow; the restore flow (with pre-signed URL generation) will follow in a separate PR.etcdBackupMethodconfiguration key (volumeSnapshotdefault,etcdSnapshotfor native etcd snapshots)HCPEtcdBackupCR that triggers a nativeetcdctl snapshot saveand uploads the snapshot to the Velero BSL object storeetcdSnapshotto prevent CSI VolumeSnapshots{prefix}/backups/{backup-name}/etcd-backup/)Dependencies
LastSuccessfulEtcdBackupURLfield in HostedClusterStatus (CNTRLPLANE-3173)Once both are merged, a vendor update is required to remove local constants (
BackupInProgressReason,BackupRejectedReason) in favor of API-defined ones.Related
Changes
| Commit | Description |
|---|---|
|
fix(deps)| Update HyperShift API vendor to latest main (brings inHCPEtcdBackuptypes) ||
feat(backup)| Integrate HCPEtcdBackup lifecycle: BSL mapping, credential copy, CR creation, polling, pod exclusion ||
docs| Full implementation reference with architecture, flows, configuration, and troubleshooting |Test plan
etcdBackupMethodandhoNamespacerecognized as valid config keysgo build ./...passesgo test ./...passesetcdBackupMethod=etcdSnapshot, run OADP backup, verify HCPEtcdBackup CR created and snapshot uploadedvolumeSnapshotmethod (default) behavior is unchanged🤖 Generated with Claude Code