creating a static PVC from an existing CephFS volume #4906
Unanswered
duffrecords
asked this question in
Q&A
Replies: 1 comment
-
Yes it should be possible
Static PV doesn't create anything on the ceph system, it supports only mounting/umounting the PVC |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Now that the
cephfs
volume type has been removed in Kubernetes 1.31, I'm trying to understand what the appropriate replacement would be. I have an existing CephFS file system that I would like to attach to containers so they have access to some shared files. I read the instructions for creating a static PV and PVC from an existing subvolume but I don't have any of those--just a single CephFS volume. Is it possible to do this without creating a subvolume? The documentation seems to be focused on how to provision volumes of a fixed size but, as I understand it, CephFS scales with the underlying object store. Would this mean I'd need to specify the size of the entire CephFS system? I want to make sure that creating a static PVC is not going to try to provision a new block within the FS or delete existing data.Beta Was this translation helpful? Give feedback.
All reactions