complete bazarr manifests for testing
This commit is contained in:
@@ -8,10 +8,7 @@ spec:
|
|||||||
# not critical infrastructure a single pod should be sufficient
|
# not critical infrastructure a single pod should be sufficient
|
||||||
replicas: 1
|
replicas: 1
|
||||||
strategy:
|
strategy:
|
||||||
type: RollingUpdate
|
type: Recreate
|
||||||
rollingUpdate:
|
|
||||||
maxUnavailable: 0
|
|
||||||
maxSurge: 1
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: bazarr
|
app: bazarr
|
||||||
@@ -20,4 +17,40 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: bazarr
|
app: bazarr
|
||||||
spec:
|
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
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
# routes for bazarr.ahmza.com through ingress-nginx (docs/11-ingress.md)
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: bazarr
|
||||||
|
namespace: bazarr
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-staging
|
||||||
|
spec:
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- bazarr.ahmza.com
|
||||||
|
# cert-manager keeps this up to date. nothing to do by hand
|
||||||
|
secretName: bazarr-tls
|
||||||
|
rules:
|
||||||
|
- host: bazarr.ahmza.com
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: bazarr
|
||||||
|
port:
|
||||||
|
number: 6767
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: bazarr
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# create a longhorn pvc for bazarr's config (see docs/06-longhorn.md)
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: bazarr-data
|
||||||
|
namespace: bazarr
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 2Gi
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: bazarr
|
||||||
|
namespace: bazarr
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: bazarr
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 6767
|
||||||
|
targetPort: http
|
||||||
Reference in New Issue
Block a user