From d0c9d90e3aac1ee9f82f4ac68cb0ffc12b26736c Mon Sep 17 00:00:00 2001 From: Rido Akbar Ibrahim Date: Wed, 22 Dec 2021 20:57:13 +0700 Subject: [PATCH] add pvc --- k8s/staging/deployment.yaml | 2 +- k8s/staging/pvc.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/staging/deployment.yaml b/k8s/staging/deployment.yaml index 9ca2ae7..217c96e 100644 --- a/k8s/staging/deployment.yaml +++ b/k8s/staging/deployment.yaml @@ -23,7 +23,7 @@ spec: name: ppob-backend-env volumeMounts: - name: storage - mountPath: /usr/src/app/files + mountPath: /home/node/files volumes: - name: storage persistentVolumeClaim: diff --git a/k8s/staging/pvc.yaml b/k8s/staging/pvc.yaml index 8d14b9a..5b3fc42 100644 --- a/k8s/staging/pvc.yaml +++ b/k8s/staging/pvc.yaml @@ -7,7 +7,7 @@ metadata: volume.beta.kubernetes.io/storage-class: "managed-nfs-storage" spec: accessModes: - - ReadWriteOnce + - ReadWriteMany resources: requests: storage: 10Gi