feat: migrate staging sorcerer to cephfs!
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: pv-staging-ceph-archives
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
csi:
|
||||
driver: rook-ceph.cephfs.csi.ceph.com
|
||||
nodeStageSecretRef:
|
||||
name: rook-csi-cephfs-node
|
||||
namespace: rook-ceph
|
||||
volumeAttributes:
|
||||
fsName: data
|
||||
clusterID: rook-ceph
|
||||
staticVolume: "true"
|
||||
rootPath: /archives
|
||||
volumeHandle: pv-staging-ceph-archives
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
volumeMode: Filesystem
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: staging-ceph-archives
|
||||
namespace: sorcerer
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: ""
|
||||
volumeMode: Filesystem
|
||||
volumeName: pv-staging-ceph-archives
|
||||
@@ -14,6 +14,7 @@ patches:
|
||||
kind: Deployment
|
||||
path: deployment_patch.yaml
|
||||
resources:
|
||||
- pv.yaml
|
||||
- pvc.yaml
|
||||
# - pv.yaml
|
||||
# - pvc.yaml
|
||||
- archives-ceph-volume.yaml
|
||||
- ../base
|
||||
|
||||
@@ -14,8 +14,8 @@ ingress:
|
||||
- sorcerer.ekman.oceanbox.io
|
||||
secretName: staging-sorcerer-tls
|
||||
persistence:
|
||||
# existingClaim: staging-oceanbox-archives
|
||||
existingClaim: staging-oceanbox-backup-archives
|
||||
existingClaim: staging-ceph-archives
|
||||
# existingClaim: staging-oceanbox-backup-archives
|
||||
nodeSelector:
|
||||
topology.kubernetes.io/group: srv
|
||||
kubernetes.io/hostname: fs2
|
||||
|
||||
Reference in New Issue
Block a user