Skip to content

Commit

Permalink
temporarily commiting PVC
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Sep 25, 2024
1 parent a6d6af8 commit 29991f6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions helm/metadig-worker/pvc.yaml
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.

Copy link
@mbjones

mbjones Sep 25, 2024

Member

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:

    VolumeAttributes:      
                           clusterID=8aa4d4a0-a209-11ea-baf5-ffc787bfc812
                           fsName=cephfs
                           rootPath=/volumes/tdg-subvol-group/tdg-subvol/131b18ad-e09d-4234-8bea-7c60ffa5621c/repos/arctic/metacat
                           staticVolume=true

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.

volumeName: cephfs-metacatarctic-metacat-varmetacat

0 comments on commit 29991f6

Please sign in to comment.