fix: media-data PVC access mode and Readarr image #80
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: media-data
|
||||||
|
namespace: media
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
storageClassName: longhorn
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 500Gi
|
||||||
@@ -11,7 +11,10 @@ spec:
|
|||||||
matchLabels:
|
matchLabels:
|
||||||
app: readarr
|
app: readarr
|
||||||
strategy:
|
strategy:
|
||||||
type: Recreate
|
type: RollingUpdate
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 1
|
||||||
|
maxUnavailable: 0
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -19,7 +22,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: readarr
|
- name: readarr
|
||||||
image: lscr.io/linuxserver/readarr:latest
|
image: ghcr.io/readarr/readarr:develop
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8787
|
- containerPort: 8787
|
||||||
name: http
|
name: http
|
||||||
@@ -33,24 +36,12 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: media-data
|
|
||||||
mountPath: /media
|
|
||||||
- name: books
|
- name: books
|
||||||
mountPath: /books
|
mountPath: /books
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
cpu: 100m
|
|
||||||
memory: 256Mi
|
|
||||||
limits:
|
|
||||||
cpu: 500m
|
|
||||||
memory: 512Mi
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: readarr-config
|
claimName: readarr-config
|
||||||
- name: media-data
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: media-data
|
|
||||||
- name: books
|
- name: books
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: readarr-books
|
claimName: readarr-books
|
||||||
|
|||||||
Reference in New Issue
Block a user