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
|
kind: Deployment
|
||||||
path: deployment_patch.yaml
|
path: deployment_patch.yaml
|
||||||
resources:
|
resources:
|
||||||
- pv.yaml
|
# - pv.yaml
|
||||||
- pvc.yaml
|
# - pvc.yaml
|
||||||
|
- archives-ceph-volume.yaml
|
||||||
- ../base
|
- ../base
|
||||||
|
|||||||
@@ -14,8 +14,8 @@ ingress:
|
|||||||
- sorcerer.ekman.oceanbox.io
|
- sorcerer.ekman.oceanbox.io
|
||||||
secretName: staging-sorcerer-tls
|
secretName: staging-sorcerer-tls
|
||||||
persistence:
|
persistence:
|
||||||
# existingClaim: staging-oceanbox-archives
|
existingClaim: staging-ceph-archives
|
||||||
existingClaim: staging-oceanbox-backup-archives
|
# existingClaim: staging-oceanbox-backup-archives
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
topology.kubernetes.io/group: srv
|
topology.kubernetes.io/group: srv
|
||||||
kubernetes.io/hostname: fs2
|
kubernetes.io/hostname: fs2
|
||||||
|
|||||||
Reference in New Issue
Block a user