From 21d827f1d328ca3a456e85749e843b024f7caeb3 Mon Sep 17 00:00:00 2001 From: Joseffus Santos Date: Wed, 20 Nov 2024 01:46:17 +0000 Subject: [PATCH] persistent volume claim --- .../base/nachet-rcnn-model-deployment.yaml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml b/kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml index dbc543ac..2e669a67 100644 --- a/kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml +++ b/kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml @@ -77,8 +77,20 @@ spec: - ALL volumes: - name: tmp - emptyDir: {} - + persistentVolumeClaim: + claimName: nachet-tmp-pvc +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: nachet-tmp-pvc +spec: + storageClassName: azurefile + accessModes: + - ReadWriteMany + resources: + requests: + storage: 2Gi --- apiVersion: policy/v1 kind: PodDisruptionBudget