-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(backup): multiple backup stores support #2182
base: master
Are you sure you want to change the base?
Commits on Nov 11, 2024
-
feat(backup): new field of Backup CRD
Introduce a new field `BackupTargetName` in `Spec` of Backup CRD to support multiple backup targets. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 85d1fd4 - Browse repository at this point
Copy the full SHA 85d1fd4View commit details -
feat(backup): new fields of BackupVolume CRD
Introduce new fields `BackupTargetName` and `VolumeName` in `Spec` of BackupVolume CRD to support multiple backup targets. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 3a1e008 - Browse repository at this point
Copy the full SHA 3a1e008View commit details -
feat(backup): new filed of Volume CR
Introduce a new filed `BackupTargetName` in `Volume.Spec` to point out where the volume will be backed up to. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 6b2aff8 - Browse repository at this point
Copy the full SHA 6b2aff8View commit details -
feat(backup): methods to get backup volume CRs
List backup volume CRs using a backup target name. List backup volume CRs using a volume name. Get a backup volume using a backup target name and a volume name. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 1ade6f0 - Browse repository at this point
Copy the full SHA 1ade6f0View commit details -
feat(backup): backup target mutation
Add the backup target mutator and add the finalizer into the backupTarget CR when mutating. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 1e490ad - Browse repository at this point
Copy the full SHA 1e490adView commit details -
feat(backup): volume mutation and validation for mutiple backup targets
Add the volume mutation and validation to handle the field `Spec.BackupTargetName`. Add a new label "backup-target". ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for c4d91e8 - Browse repository at this point
Copy the full SHA c4d91e8View commit details -
feat(backup): new fields of BackupBackingImage CRD
Add fields `Spec.BackingImage` and `Spec.BackupTargetName` in the BackupBackingImage CRD ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 5952232 - Browse repository at this point
Copy the full SHA 5952232View commit details -
feat(backup): modify the backup target controller
1. Add the deleting function. 2. Modify the synchronizing backup volumes and backup backing images from a backup target methods. 3. `sets.String` is deprecated and use generic `Set` instead ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for eb8a983 - Browse repository at this point
Copy the full SHA eb8a983View commit details -
feat(backup): move out backup target logic from setting controller
Move backupTimer from setting controller to backup target controller Move AWS IAM Role Annotation logic to datastore/kubernetes.go ref: longhorn/longhorn 5411, 6947 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for d043e63 - Browse repository at this point
Copy the full SHA d043e63View commit details -
feat(backup): add backup target validator
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 44656e3 - Browse repository at this point
Copy the full SHA 44656e3View commit details -
feat(backup): modify setting and uninstall controllers
Remove adding `backup-target` back when node is updated. Remove backup targets when uninstalling. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for b8a5732 - Browse repository at this point
Copy the full SHA b8a5732View commit details -
feat(backup): new filed of Volume CR
Introduce a new filed `BackupTargetName` in `Volume.Spec` to point out where the volume will be backed up to. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 7d649c4 - Browse repository at this point
Copy the full SHA 7d649c4View commit details -
feat(backup): modify backup volume controller
Modify backup volume controller to support multiple backup stores support. Synchronize and handle the backup volumes information from different backup targets with the same backup volume name or not. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 44640b7 - Browse repository at this point
Copy the full SHA 44640b7View commit details -
feat(backup): modify backup controller
Modify backup controller to support multiple backup stores support. Synchronize and handle the backup information from different backup targets with the same backup volume name or not. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 9fd811d - Browse repository at this point
Copy the full SHA 9fd811dView commit details -
feat(backup): add backup target label when creating a backup
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 4c5b873 - Browse repository at this point
Copy the full SHA 4c5b873View commit details -
feat(backup): handle the restoration
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for e6871c9 - Browse repository at this point
Copy the full SHA e6871c9View commit details -
feat(backup): handle triggering the backup volume synchronization
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for b5bc525 - Browse repository at this point
Copy the full SHA b5bc525View commit details -
feat(backup): recurringjob for multiple backupstores
Add the method to get the correct BackupVolume with the volume name and backup target name for the recurring job and related data strucurtes of APIs. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 2e3efff - Browse repository at this point
Copy the full SHA 2e3efffView commit details -
feat(backup): add backup target APIs
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 1a09fe9 - Browse repository at this point
Copy the full SHA 1a09fe9View commit details -
feat(backup): backup validation
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 098ab3d - Browse repository at this point
Copy the full SHA 098ab3dView commit details -
feat(backup): modify volume controller unit tests for backup targets
Add more parameters in creating BackupVolume for testing volume_controller.go ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for b334cc6 - Browse repository at this point
Copy the full SHA b334cc6View commit details -
feat(backup): modify getting BackupVolume for csi backup
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for a6ae669 - Browse repository at this point
Copy the full SHA a6ae669View commit details -
feat(backup): modify controllers related to backup backing image
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 899027b - Browse repository at this point
Copy the full SHA 899027bView commit details -
feat(backup): modify backing image data source controller
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 77d168e - Browse repository at this point
Copy the full SHA 77d168eView commit details -
feat(backup): add backup target name when mutating BackingImage for t…
…he restoring type ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for b2d6dd4 - Browse repository at this point
Copy the full SHA b2d6dd4View commit details -
feat(backup): modify system backup controller
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 9da567f - Browse repository at this point
Copy the full SHA 9da567fView commit details -
feat(backup): upgrade CRs for multiple backup store
Upgrade CRs for Volume, BackupVolume, Backup, BackupBackingImage, and BackingImageDataSource. ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 342ff48 - Browse repository at this point
Copy the full SHA 342ff48View commit details -
feat(backup): add websocket for backup targets
Ref: 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for 3d7bea1 - Browse repository at this point
Copy the full SHA 3d7bea1View commit details -
feat(backup): update k8s/crds.yaml
ref: longhorn/longhorn 5411 Signed-off-by: James Lu <james.lu@suse.com>
Configuration menu - View commit details
-
Copy full SHA for dd4f291 - Browse repository at this point
Copy the full SHA dd4f291View commit details