Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 29d31470ab |
@@ -1,6 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Namespace
|
|
||||||
metadata:
|
|
||||||
name: apps
|
|
||||||
labels:
|
|
||||||
kubernetes.io/metadata.name: apps
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: PersistentVolumeClaim
|
|
||||||
metadata:
|
|
||||||
name: media-data
|
|
||||||
namespace: media
|
|
||||||
spec:
|
|
||||||
accessModes:
|
|
||||||
- ReadWriteMany
|
|
||||||
storageClassName: longhorn
|
|
||||||
resources:
|
|
||||||
requests:
|
|
||||||
storage: 500Gi
|
|
||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
namespace: media
|
namespace: media
|
||||||
spec:
|
spec:
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteMany
|
||||||
storageClassName: longhorn
|
storageClassName: longhorn
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
|
|||||||
@@ -10,11 +10,6 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: readarr
|
app: readarr
|
||||||
strategy:
|
|
||||||
type: RollingUpdate
|
|
||||||
rollingUpdate:
|
|
||||||
maxSurge: 1
|
|
||||||
maxUnavailable: 0
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -23,9 +18,11 @@ spec:
|
|||||||
containers:
|
containers:
|
||||||
- name: readarr
|
- name: readarr
|
||||||
image: ghcr.io/readarr/readarr:develop
|
image: ghcr.io/readarr/readarr:develop
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8787
|
- containerPort: 8787
|
||||||
name: http
|
name: http
|
||||||
|
protocol: TCP
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
@@ -33,15 +30,27 @@ spec:
|
|||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: Etc/UTC
|
value: Etc/UTC
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
|
- name: media-data
|
||||||
|
mountPath: /media
|
||||||
- name: books
|
- name: books
|
||||||
mountPath: /books
|
mountPath: /books
|
||||||
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