mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
* Feature: model archive and config generator for torchserve * Fix: Update readme docs for model-archiver
26 lines
614 B
YAML
26 lines
614 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: margen-pod
|
|
spec:
|
|
volumes:
|
|
- name: model-pv-claim
|
|
persistentVolumeClaim:
|
|
claimName: model-pv-claim
|
|
initContainers:
|
|
- name: data-permission-fix
|
|
image: busybox
|
|
command: ["/bin/chmod","-R","777", "/data"]
|
|
volumeMounts:
|
|
- name: model-pv-claim
|
|
mountPath: /data
|
|
containers:
|
|
- name: margen-container
|
|
image: {username}/margen:v1.2
|
|
volumeMounts:
|
|
- mountPath: "/home/model-server"
|
|
name: model-pv-claim
|
|
resources:
|
|
limits:
|
|
memory: 400Mi
|
|
cpu: 300m |