Files
k8s-starter-pack/apps/bazarr/deployment.yaml
T

57 lines
1.4 KiB
YAML

# 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
- name: cryo-media
mountPath: /movies
subPath: Movies
- name: cryo-media
mountPath: /tv
subPath: TVShows
- name: cryo-media
mountPath: /anime
subPath: Anime
volumes:
- name: bazarr-config
persistentVolumeClaim:
claimName: bazarr-data
- name: cryo-media
nfs:
server: nas.ahmza.com
path: /srv/media