Added second git pv

This commit is contained in:
Marcus Noble 2021-05-20 08:41:21 +01:00
parent f6a6bfe2cf
commit 8aa2c7e83e

View File

@ -75,10 +75,11 @@ spec:
resources: resources:
requests: requests:
memory: 400Mi memory: 400Mi
volumeMounts: volumeMounts:
- mountPath: /data - mountPath: /data
name: git-data name: git-data
- mountPath: /data-new
name: git-data-pv
volumeClaimTemplates: volumeClaimTemplates:
- metadata: - metadata:
name: git-data name: git-data
@ -88,6 +89,14 @@ spec:
resources: resources:
requests: requests:
storage: 20Gi storage: 20Gi
- metadata:
name: git-data-pv
spec:
accessModes: [ "ReadWriteOnce" ]
storageClassName: scw-bssd-retain
resources:
requests:
storage: 8Gi
--- ---
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
kind: Ingress kind: Ingress