k3s-cluster/cluster/apps/media/sonarr/deployment.yaml

39 lines
826 B
YAML
Raw Normal View History

2023-04-03 01:02:32 -04:00
apiVersion: extensions/v1beta1
kind: Deployment
2023-04-02 14:35:53 -04:00
metadata:
2023-04-02 22:45:20 -04:00
name: sonarr
namespace: media
2023-04-03 01:02:32 -04:00
labels:
app: sonarr
kubernetes.io/name: "sonarr"
2023-04-02 14:35:53 -04:00
spec:
2023-04-03 01:02:32 -04:00
replicas: 1
template:
metadata:
labels:
app: sonarr
2023-04-02 14:35:53 -04:00
spec:
2023-04-03 01:02:32 -04:00
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