64 lines
1.5 KiB
YAML
64 lines
1.5 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: readarr
|
|
namespace: media
|
|
labels:
|
|
app: readarr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: readarr
|
|
strategy:
|
|
rollingUpdate:
|
|
maxSurge: 25%
|
|
maxUnavailable: 25%
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: readarr
|
|
spec:
|
|
containers:
|
|
- name: readarr
|
|
image: lscr.io/linuxserver/readarr:develop
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 8787
|
|
name: http
|
|
protocol: TCP
|
|
env:
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: Etc/UTC
|
|
- name: NORDIGG_APIKEY
|
|
valueFrom:
|
|
secretKeyRef:
|
|
key: NORDIGG_APIKEY
|
|
name: readarr-secret
|
|
volumeMounts:
|
|
- mountPath: /config
|
|
name: config
|
|
- mountPath: /downloads
|
|
name: downloads
|
|
- mountPath: /books
|
|
name: books
|
|
- mountPath: /media
|
|
name: media-data
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: readarr-config
|
|
- name: downloads
|
|
persistentVolumeClaim:
|
|
claimName: readarr-downloads
|
|
- name: books
|
|
persistentVolumeClaim:
|
|
claimName: readarr-books
|
|
- name: media-data
|
|
persistentVolumeClaim:
|
|
claimName: media-data
|