-
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
91fb5f3
commit d1c158f
Showing
3 changed files
with
38 additions
and
8 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,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 |
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 |
---|---|---|
@@ -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 |
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