Skip to content

Commit

Permalink
462 nachet volume mount
Browse files Browse the repository at this point in the history
  • Loading branch information
ChromaticPanic committed Nov 20, 2024
1 parent d143961 commit 9e41c4a
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions kubernetes/aks/apps/nachet/base/nachet-rcnn-model-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 9e41c4a

Please sign in to comment.