Initial Commit
This commit is contained in:
commit
fe844b9d04
20 changed files with 661 additions and 0 deletions
63
Sonarr/Deployment.yml
Normal file
63
Sonarr/Deployment.yml
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: sonarr
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: sonarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: sonarr
|
||||
spec:
|
||||
containers:
|
||||
- name: sonarr
|
||||
image: linuxserver/sonarr:latest
|
||||
ports:
|
||||
- containerPort: 8989
|
||||
resources:
|
||||
requests:
|
||||
cpu: "250m"
|
||||
memory: "256Mi"
|
||||
limits:
|
||||
cpu: "500m"
|
||||
memory: "1Gi"
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /config
|
||||
- name: media
|
||||
mountPath: /media
|
||||
- name: downloads
|
||||
mountPath: /downloads
|
||||
env:
|
||||
- name: PUID
|
||||
value: "997"
|
||||
- name: PGID
|
||||
value: "997"
|
||||
- name: TZ
|
||||
value: "UTC"
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: sonarr-config-pvc
|
||||
- name: media
|
||||
hostPath:
|
||||
path: </Path/To/Media>
|
||||
type: Directory
|
||||
- name: downloads
|
||||
hostPath:
|
||||
path: <Path/To/Downloads>
|
||||
type: Directory
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: sonarr-config-pvc
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
Loading…
Add table
Add a link
Reference in a new issue