/root/.config peristent as volume

This commit is contained in:
2025-11-11 12:11:41 +01:00
parent 294de0fedd
commit 0141e0cb23

View File

@@ -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