39 lines
826 B
YAML
39 lines
826 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sonarr
|
|
namespace: media
|
|
|
|
labels:
|
|
app: sonarr
|
|
kubernetes.io/name: "sonarr"
|
|
spec:
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sonarr
|
|
spec:
|
|
containers:
|
|
- name: sonarr
|
|
image: linuxserver/sonarr
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 8989
|
|
env:
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: PUID
|
|
value: "1000"
|
|
volumeMounts:
|
|
- name: sonarr
|
|
mountPath: /config
|
|
- name: sonarr-media-storage
|
|
mountPath: /storage
|
|
volumes:
|
|
- name: sonarr
|
|
hostPath:
|
|
path: /mnt/MainPool/Kubernetes/sonarr
|
|
- name: sonarr-media-storage
|
|
hostPath:
|
|
path: /mnt/MainPool/Media |