# bazarr image from hotio ghcr.io/hotio/bazarr apiVersion: apps/v1 kind: Deployment metadata: name: bazarr namespace: bazarr spec: # not critical infrastructure a single pod should be sufficient replicas: 1 strategy: type: Recreate selector: matchLabels: app: bazarr template: metadata: labels: app: bazarr spec: containers: - name: bazarr image: ghcr.io/hotio/bazarr: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: 6767 protocol: TCP volumeMounts: - name: bazarr-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: movies mountPath: /movies - name: tv mountPath: /tv - name: anime mountPath: /anime volumes: - name: bazarr-config persistentVolumeClaim: claimName: bazarr-data - name: movies nfs: server: nas.ahmza.com path: /srv/media/Movies - name: tv nfs: server: nas.ahmza.com path: /srv/media/TVShows - name: anime nfs: server: nas.ahmza.com path: /srv/media/Anime