Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 29e90352cb | |||
| c87944b3c3 | |||
| dd00e71632 | |||
| 0e225e1278 | |||
| da8a88b949 | |||
| 0a53d8e0c8 | |||
| 1fe9a17874 | |||
| f8318860c8 | |||
| 45f6a49863 | |||
| 6a88b2d6dd | |||
| 92ac61ff37 | |||
| af05ba5105 | |||
| 90fded0414 |
@@ -0,0 +1,6 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: apps
|
||||||
|
labels:
|
||||||
|
kubernetes.io/metadata.name: apps
|
||||||
@@ -10,6 +10,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: readarr
|
app: readarr
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -17,11 +19,10 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: readarr
|
- name: readarr
|
||||||
image: lscr.io/linuxserver/readarr:develop
|
image: lscr.io/linuxserver/readarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8787
|
- containerPort: 8787
|
||||||
name: http
|
name: http
|
||||||
protocol: TCP
|
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
@@ -29,25 +30,27 @@ spec:
|
|||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: Etc/UTC
|
value: Etc/UTC
|
||||||
- name: NORDIGG_APIKEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: readarr-secret
|
|
||||||
key: NORDIGG_APIKEY
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: books
|
|
||||||
mountPath: /books
|
|
||||||
- name: media-data
|
- name: media-data
|
||||||
mountPath: /media
|
mountPath: /media
|
||||||
|
- name: 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: books
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: readarr-books
|
|
||||||
- name: media-data
|
- name: media-data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: media-data
|
claimName: media-data
|
||||||
|
- name: books
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: readarr-books
|
||||||
@@ -10,6 +10,8 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: sonarr
|
app: sonarr
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@@ -17,30 +19,38 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: sonarr
|
- name: sonarr
|
||||||
image: lscr.io/linuxserver/sonarr:develop
|
image: lscr.io/linuxserver/sonarr:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8989
|
- containerPort: 8989
|
||||||
|
name: http
|
||||||
env:
|
env:
|
||||||
- name: PUID
|
- name: PUID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: PGID
|
- name: PGID
|
||||||
value: "1000"
|
value: "1000"
|
||||||
- name: TZ
|
- name: TZ
|
||||||
value: UTC
|
value: Etc/UTC
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /config
|
||||||
- name: tv
|
|
||||||
mountPath: /tv
|
|
||||||
- name: downloads
|
- name: downloads
|
||||||
mountPath: /downloads
|
mountPath: /downloads
|
||||||
|
- name: media-data
|
||||||
|
mountPath: /media
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 256Mi
|
||||||
|
limits:
|
||||||
|
cpu: 500m
|
||||||
|
memory: 512Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: sonarr-config
|
claimName: sonarr-config
|
||||||
- name: tv
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: media-data
|
|
||||||
- name: downloads
|
- name: downloads
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: sonarr-downloads
|
claimName: sonarr-downloads
|
||||||
|
- name: media-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-data
|
||||||
Reference in New Issue
Block a user