Files

65 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2026-09-11 10:01:18 +01:00
# 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:
2026-09-11 10:10:45 +00:00
type: Recreate
selector:
matchLabels:
app: bazarr
template:
metadata:
labels:
2026-09-11 10:01:18 +01:00
app: bazarr
2026-09-11 10:10:45 +00:00
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
2026-09-11 10:21:07 +00:00
# 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
2026-09-11 10:10:45 +00:00
mountPath: /movies
2026-09-11 10:21:07 +00:00
- name: tv
2026-09-11 10:10:45 +00:00
mountPath: /tv
2026-09-11 10:21:07 +00:00
- name: anime
2026-09-11 10:10:45 +00:00
mountPath: /anime
volumes:
- name: bazarr-config
persistentVolumeClaim:
claimName: bazarr-data
2026-09-11 10:21:07 +00:00
- name: movies
2026-09-11 10:10:45 +00:00
nfs:
server: nas.ahmza.com
2026-09-11 10:21:07 +00:00
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