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

42 lines
871 B
YAML
Raw Normal View History

2023-04-03 05:04:36 +00:00
apiVersion: apps/v1
2023-04-03 05:02:32 +00:00
kind: Deployment
2023-04-02 18:35:53 +00:00
metadata:
2023-04-03 02:45:20 +00:00
name: sonarr
namespace: download
2023-04-03 05:02:32 +00:00
labels:
app: sonarr
kubernetes.io/name: "sonarr"
2023-04-02 18:35:53 +00:00
spec:
2023-04-03 05:02:32 +00:00
replicas: 1
2023-04-03 05:07:18 +00:00
selector:
matchLabels:
app: sonarr
2023-04-03 05:02:32 +00:00
template:
metadata:
labels:
app: sonarr
2023-04-02 18:35:53 +00:00
spec:
2023-04-03 05:02:32 +00: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-download-storage
2023-04-03 05:02:32 +00:00
mountPath: /storage
volumes:
- name: sonarr
hostPath:
path: /mnt/MainPool/Kubernetes/sonarr
- name: sonarr-download-storage
2023-04-03 05:02:32 +00:00
hostPath:
path: /mnt/MainPool/Media