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