Move caches off longhorn

This commit is contained in:
Pim Kunis 2025-05-29 12:24:49 +02:00
parent b52262792d
commit 850af1b1bf
4 changed files with 18 additions and 41 deletions

View file

@ -94,7 +94,10 @@
};
spec = {
volumes.cache.persistentVolumeClaim.claimName = "cache";
volumes.cache.hostPath = {
path = "/tmp/immich-ml-cache";
type = "DirectoryOrCreate";
};
containers.machine-learning = {
image = globals.images.immich-machine-learning;
@ -258,11 +261,6 @@
};
};
};
persistentVolumeClaims.cache.spec = {
accessModes = ["ReadWriteOnce"];
resources.requests.storage = "5Gi";
};
};
lab = {