75 lines
1.6 KiB
YAML
75 lines
1.6 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: radarr
|
|
namespace: default
|
|
labels:
|
|
app: radarr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: radarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: radarr
|
|
spec:
|
|
containers:
|
|
- name: radarr
|
|
image: ghcr.io/linuxserver/radarr@sha256:c5b78b1f1e8556d781788194c4ee2b87ca7e3620b701bfce31499e60ee50eca3
|
|
imagePullPolicy: IfNotPresent
|
|
env:
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: America/New_York
|
|
resources:
|
|
requests:
|
|
memory: "512Mi"
|
|
cpu: "1"
|
|
limits:
|
|
memory: "4Gi"
|
|
cpu: "4"
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: radarr-config
|
|
- mountPath: /data
|
|
name: nas
|
|
volumes:
|
|
- name: nas
|
|
nfs:
|
|
path: /mnt/thePool/thePoolShare
|
|
server: 10.0.0.10
|
|
- 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
|
|
type: LoadBalancer
|
|
ports:
|
|
- port: 7878
|
|
targetPort: 7878
|
|
protocol: TCP
|