# Lidarr image maintained by Hotio: ghcr.io/hotio/lidarr. apiVersion: apps/v1 kind: Deployment metadata: name: lidarr namespace: lidarr spec: # not critical infrastructure a single pod should be sufficient replicas: 1 strategy: type: Recreate selector: matchLabels: app: lidarr template: metadata: labels: app: lidarr spec: containers: - name: lidarr image: ghcr.io/hotio/lidarr:release imagePullPolicy: Always env: - name: PUID value: "1000" - name: PGID value: "1000" - name: UMASK value: "002" - name: TZ value: "Europe/London" ports: - name: http containerPort: 8686 protocol: TCP volumeMounts: - name: lidarr-config mountPath: /config # Mount each media directory directly instead of using subPath. # The NFS export root is not listable by root-squashed clients, so # kubelet cannot safely prepare subPath mounts from that root. - name: music mountPath: /music - name: torrents mountPath: /data/torrents - name: usenet mountPath: /data/usenet volumes: - name: lidarr-config persistentVolumeClaim: claimName: lidarr-data - name: music nfs: server: nas.ahmza.com path: /srv/media/Music - name: torrents nfs: server: nas.ahmza.com path: /srv/media/torrents - name: usenet nfs: server: nas.ahmza.com path: /srv/media/usenet