-
Notifications
You must be signed in to change notification settings - Fork 147
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 Oct 30, 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 81b406e - Browse repository at this point
Copy the full SHA 81b406eView 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 acd50aa - Browse repository at this point
Copy the full SHA acd50aaView commit details -
feat(backup): new field of BackupTarget CRD
Introduce a new field `ReadOnly` in `Status` of BackupTarget 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 a07a302 - Browse repository at this point
Copy the full SHA a07a302View 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 20b0856 - Browse repository at this point
Copy the full SHA 20b0856View 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 f37caff - Browse repository at this point
Copy the full SHA f37caffView 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 5dfebd2 - Browse repository at this point
Copy the full SHA 5dfebd2View 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 dab50a4 - Browse repository at this point
Copy the full SHA dab50a4View 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 44c2241 - Browse repository at this point
Copy the full SHA 44c2241View 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 c9ad360 - Browse repository at this point
Copy the full SHA c9ad360View 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 32bfa63 - Browse repository at this point
Copy the full SHA 32bfa63View 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 92abea1 - Browse repository at this point
Copy the full SHA 92abea1View 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 6a49632 - Browse repository at this point
Copy the full SHA 6a49632View 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 1d35163 - Browse repository at this point
Copy the full SHA 1d35163View 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 abaa6d0 - Browse repository at this point
Copy the full SHA abaa6d0View 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 559c31e - Browse repository at this point
Copy the full SHA 559c31eView 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 5b53968 - Browse repository at this point
Copy the full SHA 5b53968View 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 87d4702 - Browse repository at this point
Copy the full SHA 87d4702View 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 2770fcf - Browse repository at this point
Copy the full SHA 2770fcfView 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 3863ecf - Browse repository at this point
Copy the full SHA 3863ecfView 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 a7e9e1c - Browse repository at this point
Copy the full SHA a7e9e1cView 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 6036180 - Browse repository at this point
Copy the full SHA 6036180View 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 ffab803 - Browse repository at this point
Copy the full SHA ffab803View 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 f5d6cc3 - Browse repository at this point
Copy the full SHA f5d6cc3View 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 f190b0c - Browse repository at this point
Copy the full SHA f190b0cView 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 789bf78 - Browse repository at this point
Copy the full SHA 789bf78View 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 4a9652c - Browse repository at this point
Copy the full SHA 4a9652cView 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 ef8e0b3 - Browse repository at this point
Copy the full SHA ef8e0b3View 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 1cf1bda - Browse repository at this point
Copy the full SHA 1cf1bdaView 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 39595e1 - Browse repository at this point
Copy the full SHA 39595e1View 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 97553ea - Browse repository at this point
Copy the full SHA 97553eaView commit details