Skip to content

Clone PVC in other namespaces #2769

Answered by Madhu-1
dren-dk asked this question in Q&A
Discussion options

You must be logged in to vote

You can try the below steps if you want to clone in a different namespace (just one hack of doing it)

  • Create a PVC in one namespace
  • Create clone is the same namespace
  • Edit the PV/PVC reclaim policy and change it to Retain
  • Delete the PVC and PVC reference in the PV object.
  • Create the PVC in the different namespace and point to the above PV object.

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Madhu-1
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #2768 on January 12, 2022 15:59.