-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use schedule instead of VolumeReplicationClass
VolumeReplicationClass field in VolumeReplicationGroup is nothing but a string. Instead of that, use a schedule which is then used in combination with the storage driver for the pvc (obtained from storageclass) by the VolumeReplicationGroup to determine the appropriate VolumeReplicationClass to use. HUB/DRPC (Previously AVR): - modify DRPolicy to include schedule along with DR prepared clusters - Make DRPC (previously AVR) refer to the DRPolicy schedule while creating VolumeReplicationGroup and use that as the schedule for VolumeReplicationGroup. Managed Cluster: - While reconciling VolumeReplicationGroup, for each of the PVC obtained via label selection, do this - storagedriver = StorageDriver(StorageClass(pvc)) - Get All the VolumeReplicationClasses in the cluster - For each VolumeReplicationClass (chosen via label selector) if (replicationdriver == storagedriver and replicationSchedule == vrg.Spec.Schedule) chosenReplicationClass = VolumeReplicationClass Signed-off-by: Raghavendra M <raghavendra@redhat.com>
- Loading branch information
1 parent
7f44fd2
commit b0a9027
Showing
19 changed files
with
787 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.