57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: readarr
|
|
namespace: media
|
|
labels:
|
|
app: readarr
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: readarr
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: readarr
|
|
spec:
|
|
containers:
|
|
- name: readarr
|
|
image: ghcr.io/readarr/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
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 256Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
volumeMounts:
|
|
- name: config
|
|
mountPath: /config
|
|
- name: media-data
|
|
mountPath: /media
|
|
- name: books
|
|
mountPath: /books
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: readarr-config
|
|
- name: media-data
|
|
persistentVolumeClaim:
|
|
claimName: media-data
|
|
- name: books
|
|
persistentVolumeClaim:
|
|
claimName: readarr-books
|