From 9e41c4a3d97b3905dca3b8aafa92f5de3b6c87d9 Mon Sep 17 00:00:00 2001 From: Joseffus Santos Date: Wed, 20 Nov 2024 05:19:45 +0000 Subject: [PATCH] 462 nachet volume mount --- .../base/nachet-rcnn-model-deployment.yaml | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 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 06f16629..baaea50e 100644 --- a/kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml +++ b/kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml @@ -42,17 +42,17 @@ spec: image: ghcr.io/ai-cfia/nachet-backend:29-azureml-seed-detector imagePullPolicy: Always command: ["/bin/sh", "-c"] - args: ['azmlinfsrv --entry_script /app/artifacts/scoring_file_v_1_0_0.py'] + args: ['./startup.sh'] envFrom: - secretRef: name: nachet-rcnn-detector-secrets ports: - containerPort: 5001 volumeMounts: - - name: logs - mountPath: /app/logs + # - name: logs + # mountPath: /app/logs - name: tmp - mountPath: /tmp + mountPath: /app livenessProbe: httpGet: path: /score @@ -79,21 +79,21 @@ spec: - name: tmp persistentVolumeClaim: claimName: nachet-tmp-pvc - - name: logs - persistentVolumeClaim: - claimName: nachet-logs-pvc ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: nachet-logs-pvc -spec: - storageClassName: azurefile - accessModes: - - ReadWriteMany - resources: - requests: - storage: 2Gi + # - name: logs + # persistentVolumeClaim: + # claimName: nachet-logs-pvc +# --- +# apiVersion: v1 +# kind: PersistentVolumeClaim +# metadata: +# name: nachet-logs-pvc +# spec: +# storageClassName: azurefile +# accessModes: +# - ReadWriteMany +# resources: +# requests: +# storage: 2Gi --- apiVersion: v1 kind: PersistentVolumeClaim