Move caches off longhorn
This commit is contained in:
parent
b52262792d
commit
850af1b1bf
4 changed files with 18 additions and 41 deletions
|
@ -74,7 +74,10 @@ in {
|
|||
};
|
||||
|
||||
volumes = {
|
||||
cache.persistentVolumeClaim.claimName = "jellyfin-cache";
|
||||
cache.hostPath = {
|
||||
path = "/tmp/jellyfin-cache";
|
||||
type = "DirectoryOrCreate";
|
||||
};
|
||||
|
||||
music.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/music";
|
||||
|
@ -587,13 +590,6 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
persistentVolumeClaims.jellyfin-cache = lib.mkIf cfg.jellyfin.enable {
|
||||
spec = {
|
||||
accessModes = ["ReadWriteOnce"];
|
||||
resources.requests.storage = "20Gi";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lab = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue