-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a6d6af8
commit 29991f6
Showing
1 changed file
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
apiVersion: v1 | ||
kind: PersistentVolumeClaim | ||
metadata: | ||
name: metadig-worker-metacat-pvc | ||
spec: | ||
accessModes: | ||
- ReadOnlyMany | ||
storageClassName: csi-cephfs-sc | ||
This comment has been minimized.
Sorry, something went wrong. |
||
volumeName: cephfs-metacatarctic-metacat-varmetacat |
I don't think you want to use a dynamic sc -- you need to create a static volume that points at an existing ceph volume, and then bind that in your PVC using
volumeName
. The volume details you will need to provide include:Those details came from a metacat install, yours would differ somewhat (such as for rootPath, which would probably end at
repos/
for your use case. You'll also need the ceph keys to create the volume, which should already be in a k8s secret that @artntek used.