mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 00:34:25 +02:00
feat: rework media volumes
This commit is contained in:
@@ -40,16 +40,12 @@ spec:
|
|||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
path: /mnt/storage/music
|
path: /mnt/storage/music
|
||||||
mountPath: /mnt/storage/music
|
mountPath: /mnt/storage/music
|
||||||
qbittorrent-cache:
|
downloads:
|
||||||
enabled: true
|
|
||||||
existingClaim: qbittorrent-cache
|
|
||||||
mountPath: "/downloads"
|
|
||||||
usenet:
|
|
||||||
enabled: true
|
enabled: true
|
||||||
type: nfs
|
type: nfs
|
||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
path: /mnt/storage/video/.usenet
|
path: /mnt/storage/downloads
|
||||||
mountPath: /mnt/storage/video/.usenet
|
mountPath: /mnt/storage/downloads
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
|
@@ -34,10 +34,6 @@ spec:
|
|||||||
config:
|
config:
|
||||||
enabled: true
|
enabled: true
|
||||||
existingClaim: qbittorrent-config
|
existingClaim: qbittorrent-config
|
||||||
qbittorrent-cache:
|
|
||||||
enabled: true
|
|
||||||
existingClaim: qbittorrent-cache
|
|
||||||
mountPath: "/downloads"
|
|
||||||
downloads:
|
downloads:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: nfs
|
type: nfs
|
||||||
|
@@ -13,40 +13,3 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 1Gi
|
storage: 1Gi
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: qbittorrent-cache
|
|
||||||
namespace: media
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
storageClassName: local
|
|
||||||
volumeName: qbittorrent-cache
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 600Gi
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolume
|
|
||||||
metadata:
|
|
||||||
name: qbittorrent-cache
|
|
||||||
spec:
|
|
||||||
capacity:
|
|
||||||
storage: 600Gi
|
|
||||||
volumeMode: Filesystem
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteOnce
|
|
||||||
persistentVolumeReclaimPolicy: Delete
|
|
||||||
storageClassName: local
|
|
||||||
local:
|
|
||||||
path: /local-path/qbittorrent-cache
|
|
||||||
nodeAffinity:
|
|
||||||
required:
|
|
||||||
nodeSelectorTerms:
|
|
||||||
- matchExpressions:
|
|
||||||
- key: kubernetes.io/hostname
|
|
||||||
operator: In
|
|
||||||
values:
|
|
||||||
- k3s-worker3
|
|
||||||
|
@@ -41,10 +41,6 @@ spec:
|
|||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
path: /mnt/storage/video
|
path: /mnt/storage/video
|
||||||
mountPath: /mnt/storage/video
|
mountPath: /mnt/storage/video
|
||||||
qbittorrent-cache:
|
|
||||||
enabled: true
|
|
||||||
existingClaim: qbittorrent-cache
|
|
||||||
mountPath: "/downloads"
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
|
@@ -36,16 +36,12 @@ spec:
|
|||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
path: /mnt/storage/home/claude/books
|
path: /mnt/storage/home/claude/books
|
||||||
mountPath: /mnt/storage/home/claude/books
|
mountPath: /mnt/storage/home/claude/books
|
||||||
usenet:
|
downloads:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: nfs
|
type: nfs
|
||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
path: /mnt/storage/video/.usenet
|
path: /mnt/storage/downloads
|
||||||
mountPath: /mnt/storage/video/.usenet
|
mountPath: /mnt/storage/downloads
|
||||||
qbittorrent-cache:
|
|
||||||
enabled: true
|
|
||||||
existingClaim: qbittorrent-cache
|
|
||||||
mountPath: "/downloads"
|
|
||||||
|
|
||||||
service:
|
service:
|
||||||
main:
|
main:
|
||||||
|
@@ -34,7 +34,13 @@ spec:
|
|||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
path: /mnt/storage/downloads
|
path: /mnt/storage/downloads
|
||||||
mountPath: /mnt/storage/downloads
|
mountPath: /mnt/storage/downloads
|
||||||
usenet:
|
music-usenet:
|
||||||
|
enabled: true
|
||||||
|
type: nfs
|
||||||
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
|
path: /mnt/storage/music/.usenet
|
||||||
|
mountPath: /mnt/storage/music/.usenet
|
||||||
|
video-usenet:
|
||||||
enabled: true
|
enabled: true
|
||||||
type: nfs
|
type: nfs
|
||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
|
@@ -39,10 +39,6 @@ spec:
|
|||||||
server: "${LOCAL_LAN_TRUENAS}"
|
server: "${LOCAL_LAN_TRUENAS}"
|
||||||
path: /mnt/storage/video
|
path: /mnt/storage/video
|
||||||
mountPath: /mnt/storage/video
|
mountPath: /mnt/storage/video
|
||||||
qbittorrent-cache:
|
|
||||||
enabled: true
|
|
||||||
existingClaim: qbittorrent-cache
|
|
||||||
mountPath: "/downloads"
|
|
||||||
|
|
||||||
ingress:
|
ingress:
|
||||||
main:
|
main:
|
||||||
|
Reference in New Issue
Block a user