2024-07-02 23:33:48 -04:00
|
|
|
apiVersion: apps/v1
|
2024-07-04 17:28:11 -04:00
|
|
|
kind: Deployment
|
2024-07-02 23:33:48 -04:00
|
|
|
metadata:
|
|
|
|
name: radarr
|
|
|
|
namespace: default
|
|
|
|
labels:
|
|
|
|
app: radarr
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: radarr
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: radarr
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: radarr
|
2024-07-03 08:57:07 -04:00
|
|
|
image: ghcr.io/linuxserver/radarr@sha256:c5b78b1f1e8556d781788194c4ee2b87ca7e3620b701bfce31499e60ee50eca3
|
2024-07-02 23:33:48 -04:00
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
env:
|
|
|
|
- name: PUID
|
|
|
|
value: "1000"
|
|
|
|
- name: PGID
|
|
|
|
value: "1000"
|
|
|
|
- name: TZ
|
|
|
|
value: America/New_York
|
2024-07-04 17:28:11 -04:00
|
|
|
resources:
|
|
|
|
requests:
|
2024-07-06 13:24:39 -04:00
|
|
|
memory: "512Mi"
|
2024-07-06 13:22:54 -04:00
|
|
|
cpu: "100m"
|
2024-07-04 17:28:11 -04:00
|
|
|
limits:
|
2024-07-06 13:24:39 -04:00
|
|
|
memory: "1Gi"
|
2024-07-06 13:22:54 -04:00
|
|
|
cpu: "100m"
|
2024-07-02 23:33:48 -04:00
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /config
|
2024-07-04 17:28:11 -04:00
|
|
|
name: radarr-config
|
2024-07-03 21:40:55 -04:00
|
|
|
- mountPath: /data
|
|
|
|
name: nas
|
2024-07-04 12:16:30 -04:00
|
|
|
volumes:
|
|
|
|
- name: nas
|
|
|
|
nfs:
|
|
|
|
path: /mnt/thePool/thePoolShare
|
|
|
|
server: 10.0.0.10
|
2024-07-04 17:28:11 -04:00
|
|
|
- name: radarr-config
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: radarr-config
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
metadata:
|
|
|
|
name: radarr-config
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 5Gi
|
|
|
|
storageClassName: longhorn
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: headless-radarr
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: radarr
|
|
|
|
ports:
|
|
|
|
- port: 7878
|
|
|
|
targetPort: 7878
|
|
|
|
protocol: TCP
|
2024-07-06 09:22:18 -04:00
|
|
|
type: ClusterIP
|
|
|
|
---
|
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
|
|
|
name: radarr
|
|
|
|
namespace: default
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/ingress.class: traefik-external
|
|
|
|
spec:
|
|
|
|
entryPoints:
|
|
|
|
- websecure
|
|
|
|
routes:
|
|
|
|
- match: Host(`radarr.local.mafyuh.com`)
|
|
|
|
kind: Rule
|
|
|
|
services:
|
|
|
|
- name: headless-radarr
|
|
|
|
port: 7878
|
|
|
|
middlewares:
|
|
|
|
- name: default-headers
|
|
|
|
tls:
|
|
|
|
secretName: local-mafyuh-com-production-tls
|