-
Describe the feature you'd like to haveAs far as I can tell there's no way to clone a PVC from another namespace, this would be quite handy in the situation where I'd like to clone a database from the production to the QA namespace. It seems there are various non-standard ways of doing this by other CSI drivers, such as setting a list of allowed downstream namespaces in an annotation of the source PVC and then pointing at the source PVC via an annotation of the clone PVC. What is the value to the end user? (why is it a priority?)Cloning PVCs within the same namespace only is severely limiting when you want to have production and test instances live in separate namespaces. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
@dren-dk what is the expectation from cephcsi here? |
Beta Was this translation helpful? Give feedback.
-
Ideally a pointer to documentation that says I'm mistaken and that there is a perfectly standard way to do what I want and that cephcsi supports it. Secondarily I'd be happy with a non-standard cephcsi specific way to clone RBD PVCs across namespace boundaries. |
Beta Was this translation helpful? Give feedback.
-
cephcsi is not blocking any clones across kubernetes namespaces. if there are any non-standard ways of doing it, the same should work for cephcsi also. AFAIK this is completely related to kubernetes and has nothing to do with cephcsi. |
Beta Was this translation helpful? Give feedback.
-
You can try the below steps if you want to clone in a different namespace (just one hack of doing it)
|
Beta Was this translation helpful? Give feedback.
-
Hmm, yes I guess that would be a useful workaround, though it relies on a lot of sequential steps rather than a static desired state, so it's harder to implement in a gitops workflow. I'll go and have more of a think about this, thank you for taking the time to respond. |
Beta Was this translation helpful? Give feedback.
-
Yes, it's hard but that's the one way of doing it. as nothing can be done from cephcsi for this one. please feel to reach out if you have any queries. |
Beta Was this translation helpful? Give feedback.
You can try the below steps if you want to clone in a different namespace (just one hack of doing it)