From 4419ee2921c34f1aa262cb355b42404fa7ef7a9a Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Wed, 25 Sep 2024 12:18:46 +0800 Subject: [PATCH] fix(mlc-llm): tmp on PVC --- kube/deploy/apps/mlc-llm/app/hr.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/kube/deploy/apps/mlc-llm/app/hr.yaml b/kube/deploy/apps/mlc-llm/app/hr.yaml index 74588cb3..1e9193a1 100644 --- a/kube/deploy/apps/mlc-llm/app/hr.yaml +++ b/kube/deploy/apps/mlc-llm/app/hr.yaml @@ -74,7 +74,7 @@ spec: cpu: "10m" limits: cpu: "1000m" - memory: "3Gi" + memory: "1Gi" service: mlc-llm: controller: mlc-llm @@ -104,8 +104,13 @@ spec: path: /app/.cache - subPath: testdata path: /app/.tvm_test_data + # - subPath: tmp + # path: /tmp # used for downloading models, so why not download straight to disk + tmp: + type: emptyDir + globalMounts: - subPath: tmp - path: /tmp # used for downloading models, so why not download straight to disk + path: /tmp defaultPodOptions: automountServiceAccountToken: false enableServiceLinks: false