Skip to content

Commit

Permalink
update pv and pvc
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanetteclark committed Sep 25, 2024
1 parent 91fb5f3 commit d1c158f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 8 deletions.
26 changes: 26 additions & 0 deletions helm/metadig-worker/pv.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
apiVersion: v1
kind: PersistentVolume
metadata:
name: cephfs-repos-rom
spec:
accessModes:
- ReadOnlyMany
capacity:
storage: 42Ti
csi:
driver: cephfs.csi.ceph.com
nodeStageSecretRef:
# node stage secret name
name: csi-cephfs-secret
# node stage secret namespace where above secret is created
namespace: ceph-csi-cephfs
volumeAttributes:
clusterID: 8aa4d4a0-a209-11ea-baf5-ffc787bfc812
fsName: cephfs
rootPath: /volumes/tdg-subvol-group/tdg-subvol/131b18ad-e09d-4234-8bea-7c60ffa5621c/repos/
staticVolume: "true"
# volumeHandle can be anything, need not to be same
# as PV name or volume name. keeping same for brevity
volumeHandle: cephfs-static-pv
persistentVolumeReclaimPolicy: Retain
volumeMode: Filesystem
14 changes: 9 additions & 5 deletions helm/metadig-worker/pvc.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: metadig-worker-metacat-pvc
name: metadig-repos-rom
namespace: metadig
spec:
accessModes:
- ReadOnlyMany
storageClassName: csi-cephfs-sc
volumeName: cephfs-metacatarctic-metacat-varmetacat
- ReadOnlyMany
resources:
requests:
storage: 42Ti
volumeMode: Filesystem
# volumeName should be same as PV name
volumeName: cephfs-repos-rom
6 changes: 3 additions & 3 deletions helm/metadig-worker/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ persistence:
mountPath: "/opt/local"

metacat:
claimName: metadig-worker-metacat-pvc
mountPath: "/var/data/metacat"
claimName: metadig-repos-rom
mountPath: "/var/data/repos"

dns:
config: true

0 comments on commit d1c158f

Please sign in to comment.