Files
home/k8s_manifests/lidarr/deployment.yaml
2024-11-13 07:20:17 +01:00

45 lines
1009 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: lidarr
labels:
app.kubernetes.io/name: lidarr
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: lidarr
template:
metadata:
labels:
app.kubernetes.io/name: lidarr
spec:
volumes:
- name: nfs-vol
nfs:
server: 192.168.0.114
path: /mnt/test1/media/
- name: config
persistentVolumeClaim:
claimName: config-lidarr
containers:
- name: lidarr
image: ghcr.io/hotio/lidarr:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Etc/UTC"
ports:
- containerPort: 8686
volumeMounts:
- name: config
mountPath: /config
- name: nfs-vol
mountPath: /media