Skip to content
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

Detect Sync/Async DRPolicy based on peerClasses status output and not spec.Region values in DRCluster #1752

Open
ShyamsundarR opened this issue Jan 14, 2025 · 0 comments

Comments

@ShyamsundarR
Copy link
Member

Currently when a DRCluster resource is created, it expects a spec.Region value. This value when it is the same across DRClusters in a DRPolicy indicates that the clusters are in a Sync DR relationship, and when different, indicates Async DR relationship.

Instead of the user having to provide these values, we can leverage the DRPolicy peerClasses status output to determine if a pair of clusters are in a Sync or Async relationship based on the storageID values of the StorageClasses in these clusters.

This removes one hurdle when configuring a DRPolicy and its DRClusters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant