feat(sorcerer): Add raid-data pvc and cronjobs
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
# - op: replace
|
||||
# path: /spec/template/spec/containers/0/volumeMounts/0/mountPath
|
||||
# value: /data
|
||||
- op: add
|
||||
path: /spec/template/spec/volumes/-
|
||||
value:
|
||||
name: raid-data
|
||||
persistentVolumeClaim:
|
||||
claimName: raid-data
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/volumeMounts/-
|
||||
value:
|
||||
name: raid-data
|
||||
mountPath: /data/raid
|
||||
- op: add
|
||||
path: /spec/template/spec/containers/0/envFrom/-
|
||||
value:
|
||||
|
||||
@@ -14,6 +14,7 @@ resources:
|
||||
- ../base
|
||||
- pv.yaml
|
||||
- pvc.yaml
|
||||
- pv-raid-data.yaml
|
||||
- secrets.yaml
|
||||
- configurations.yaml
|
||||
- keyvault.yaml
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: raid-data
|
||||
namespace: staging-sorcerer
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storageClassName: ""
|
||||
volumeMode: Filesystem
|
||||
volumeName: pv-raid-data
|
||||
status:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: pv-raid-data
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
claimRef:
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
name: raid-data
|
||||
namespace: staging-sorcerer
|
||||
capacity:
|
||||
storage: 1Gi
|
||||
mountOptions:
|
||||
- nfsvers=4.2
|
||||
nfs:
|
||||
path: /vol/archives
|
||||
server: 10.255.241.80
|
||||
persistentVolumeReclaimPolicy: Retain
|
||||
storageClassName: managed-nfs-storage
|
||||
volumeMode: Filesystem
|
||||
Reference in New Issue
Block a user