Actions
Feature #43951
open[mirroring] provide support for replicated image annotation
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:
Description
When mirroring a k8s PVC, the PVC name/namespace will be passed to the CSI under [1]. The ceph-csi will need a quick way to look-up mirrored images by this PVC name/namespace key to determine the associated RBD image. Allow a user-provided annotation to be associated with the image when enabling mirroring, and then replicate it to the non-primary image. Then if the librbd API provides a quick way to lookup a mirrored image by annotation, the images could then be linked by the ceph-csi driver.
[1] https://github.com/kubernetes-csi/external-provisioner/pull/399
Actions