Move caches off longhorn
This commit is contained in:
parent
b52262792d
commit
850af1b1bf
4 changed files with 18 additions and 41 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue