diff --git a/lmstudio-open-webui.yaml b/lmstudio.yaml similarity index 83% rename from lmstudio-open-webui.yaml rename to lmstudio.yaml index b609e1f..00335ef 100644 --- a/lmstudio-open-webui.yaml +++ b/lmstudio.yaml @@ -1,10 +1,7 @@ apiVersion: v1 kind: Pod metadata: - hostname: lmstudio-webui - name: lmstudio-open-webui - labels: - app: lmstudio-open-webui + name: lmstudio annotations: run.oci.keep_original_groups: "1" cdi.k8s.io/DeviceName.0: "podman.io/device=/dev/kfd" @@ -22,8 +19,8 @@ spec: volumeMounts: - name: lmstudio-data mountPath: /root/.lmstudio - - name: lmstudio-config - mountPath: "/root/.config/LM Studio" + - name: lmstudio-config-pvc + mountPath: /root/.config - name: dev-dri mountPath: /dev/dri - name: dev-kfd @@ -58,10 +55,9 @@ spec: hostPath: path: /home/do/.lmstudio type: Directory - - name: lmstudio-config - hostPath: - path: "/home/do/.config/LM Studio" - type: Directory + - name: lmstudio-config-pvc + persistentVolumeClaim: + claimName: lmstudio-config - name: dev-dri hostPath: path: /dev/dri