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

Label PVCs for consistency groups #1507

Merged
merged 1 commit into from
Aug 5, 2024

Conversation

ELENAGER
Copy link
Member

Adding label "ramendr.openshift.io/consistency-group" to PVCs if consistency group is enable in DRPC.

Signed-off-by: Elena Gershkovich <elenage@il.ibm.com>
@youhangwang
Copy link
Member

/lgtm

I will add a for loop to add the cg label in cephfs PVCs in func labelPVCsForCG once this pr was merged

@@ -694,6 +701,54 @@ func (v *VRGInstance) updatePVCList() error {
return v.separatePVCsUsingStorageClassProvisioner(pvcList)
}

func (v *VRGInstance) labelPVCsForCG() error {
Copy link
Member

@BenamarMk BenamarMk Aug 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am just mentioning a conversation we had in another PR here: #1472 (comment)

This works for now. We will just have one CG per DRPC.

Copy link
Member

@BenamarMk BenamarMk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BenamarMk BenamarMk merged commit a9938f4 into RamenDR:main Aug 5, 2024
16 checks passed
@ELENAGER ELENAGER deleted the label_pvcs_for_cg branch August 6, 2024 08:10
par97 pushed a commit to par97/ramen that referenced this pull request Aug 8, 2024
Signed-off-by: Elena Gershkovich <elenage@il.ibm.com>
asn1809 pushed a commit to asn1809/ramen that referenced this pull request Aug 21, 2024
Signed-off-by: Elena Gershkovich <elenage@il.ibm.com>
Signed-off-by: Annaraya Narasagond <annaraya.narasagond@ibm.com>
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

Successfully merging this pull request may close these issues.

3 participants