yolo
This commit is contained in:
parent
d68ff55038
commit
c59823cfc8
11
Volumes/Claims/unraid-data.yaml
Normal file
11
Volumes/Claims/unraid-data.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nfs-unraid-data
|
||||
spec:
|
||||
storageClassName: nfs
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Ti
|
11
Volumes/Claims/unraid-disk_docker_appdata.yaml
Normal file
11
Volumes/Claims/unraid-disk_docker_appdata.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nfs-unraid-disk-docker-app
|
||||
spec:
|
||||
storageClassName: nfs
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Gi
|
11
Volumes/Claims/unraid-disk_docker_logdata.yaml
Normal file
11
Volumes/Claims/unraid-disk_docker_logdata.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nfs-unraid-disk-docker-log
|
||||
spec:
|
||||
storageClassName: nfs
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Gi
|
11
Volumes/Claims/unraid-disk_docker_wastedata.yaml
Normal file
11
Volumes/Claims/unraid-disk_docker_wastedata.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: nfs-unraid-disk-docker-waste
|
||||
spec:
|
||||
storageClassName: nfs
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Gi
|
18
Volumes/unraid-data.yaml
Normal file
18
Volumes/unraid-data.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nfs-unraid-data
|
||||
spec:
|
||||
capacity:
|
||||
storage: 50Ti
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
storageClassName: nfs
|
||||
mountOptions:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
path: /mnt/user/data/media
|
||||
server: 10.0.0.30
|
18
Volumes/unraid-disk_docker_appdata.yaml
Normal file
18
Volumes/unraid-disk_docker_appdata.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nfs-unraid-disk-docker-app
|
||||
spec:
|
||||
capacity:
|
||||
storage: 400Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
storageClassName: nfs
|
||||
mountOptions:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
path: /mnt/disks/Docker/AppData
|
||||
server: 10.0.0.30
|
18
Volumes/unraid-disk_docker_logdata.yaml
Normal file
18
Volumes/unraid-disk_docker_logdata.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nfs-unraid-disk-docker-log
|
||||
spec:
|
||||
capacity:
|
||||
storage: 400Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
storageClassName: nfs
|
||||
mountOptions:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
path: /mnt/disks/Docker/LogData
|
||||
server: 10.0.0.30
|
18
Volumes/unraid-disk_docker_wastedata.yaml
Normal file
18
Volumes/unraid-disk_docker_wastedata.yaml
Normal file
@ -0,0 +1,18 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolume
|
||||
metadata:
|
||||
name: nfs-unraid-disk-docker-waste
|
||||
spec:
|
||||
capacity:
|
||||
storage: 400Gi
|
||||
volumeMode: Filesystem
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
persistentVolumeReclaimPolicy: Recycle
|
||||
storageClassName: nfs
|
||||
mountOptions:
|
||||
- hard
|
||||
- nfsvers=4.1
|
||||
nfs:
|
||||
path: /mnt/disks/Docker/WasteData
|
||||
server: 10.0.0.30
|
75
radarr_norsk/radarr_norsk-deployment.yaml
Normal file
75
radarr_norsk/radarr_norsk-deployment.yaml
Normal file
@ -0,0 +1,75 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: radarr-norsk
|
||||
spec:
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: radarr-norsk
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: radarr-norsk
|
||||
init: s6
|
||||
maintainer: lsio
|
||||
spec:
|
||||
volumes:
|
||||
- name: unraid-data
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-unraid-data
|
||||
- name: unraid-waste
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-unraid-disk-docker-waste
|
||||
- name: unraid-log
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-unraid-disk-docker-log
|
||||
- name: unraid-app
|
||||
persistentVolumeClaim:
|
||||
claimName: nfs-unraid-disk-docker-app
|
||||
containers:
|
||||
- image: lscr.io/linuxserver/radarr:nightly
|
||||
name: radarr-norsk
|
||||
resources:
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: "1500Mi"
|
||||
requests:
|
||||
cpu: "300m"
|
||||
memory: "100Mi"
|
||||
ports:
|
||||
- containerPort: 7878
|
||||
env:
|
||||
- name: PUID
|
||||
value: "99"
|
||||
- name: PGID
|
||||
value: "100"
|
||||
- name: TZ
|
||||
value: Europe/Oslo
|
||||
- name: Radarr__Postgres__Host
|
||||
value: 10.0.0.30
|
||||
- name: Radarr__Postgres__Port
|
||||
value: "5432"
|
||||
- name: Radarr__Postgres__User
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: radarr-norsk-postgres
|
||||
key: Radarr__Postgres__User
|
||||
- name: Radarr__Postgres__Password
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: radarr-norsk-postgres
|
||||
key: Radarr__Postgres__Password
|
||||
volumeMounts:
|
||||
- mountPath: "/mnt/data"
|
||||
name: unraid-data
|
||||
- mountPath: "/config/MediaCover"
|
||||
subPath: radarr_norsk/app/MediaCover
|
||||
name: unraid-waste
|
||||
- mountPath: "/config/logs"
|
||||
subPath: radarr_norsk
|
||||
name: unraid-log
|
||||
- mountPath: "/config"
|
||||
subPath: radarr_norsk
|
||||
name: unraid-app
|
Loading…
Reference in New Issue
Block a user