/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 apiVersion: v1
kind: Pod kind: Pod
metadata: metadata:
hostname: lmstudio-webui name: lmstudio
name: lmstudio-open-webui
labels:
app: lmstudio-open-webui
annotations: annotations:
run.oci.keep_original_groups: "1" run.oci.keep_original_groups: "1"
cdi.k8s.io/DeviceName.0: "podman.io/device=/dev/kfd" cdi.k8s.io/DeviceName.0: "podman.io/device=/dev/kfd"
@@ -22,8 +19,8 @@ spec:
volumeMounts: volumeMounts:
- name: lmstudio-data - name: lmstudio-data
mountPath: /root/.lmstudio mountPath: /root/.lmstudio
- name: lmstudio-config - name: lmstudio-config-pvc
mountPath: "/root/.config/LM Studio" mountPath: /root/.config
- name: dev-dri - name: dev-dri
mountPath: /dev/dri mountPath: /dev/dri
- name: dev-kfd - name: dev-kfd
@@ -58,10 +55,9 @@ spec:
hostPath: hostPath:
path: /home/do/.lmstudio path: /home/do/.lmstudio
type: Directory type: Directory
- name: lmstudio-config - name: lmstudio-config-pvc
hostPath: persistentVolumeClaim:
path: "/home/do/.config/LM Studio" claimName: lmstudio-config
type: Directory
- name: dev-dri - name: dev-dri
hostPath: hostPath:
path: /dev/dri path: /dev/dri