2024-07-06 20:13:50 -04:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: bazarr
|
|
|
|
namespace: default
|
|
|
|
labels:
|
|
|
|
app: bazarr
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: bazarr
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: bazarr
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: bazarr
|
2024-09-03 18:00:56 -04:00
|
|
|
image: ghcr.io/linuxserver/bazarr@sha256:0364bb3d8d03cf0995036140322f6d0de78dd1924ba990499f67598f7c61ff62
|
2024-07-06 20:13:50 -04:00
|
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
env:
|
|
|
|
- name: PUID
|
|
|
|
value: "1000"
|
|
|
|
- name: PGID
|
|
|
|
value: "1000"
|
|
|
|
- name: TZ
|
|
|
|
value: America/New_York
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
memory: "512Mi"
|
|
|
|
cpu: "75m"
|
|
|
|
limits:
|
|
|
|
memory: "535Mi"
|
|
|
|
cpu: "100m"
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /config
|
|
|
|
name: bazarr-config
|
|
|
|
- mountPath: /data
|
|
|
|
name: nas
|
|
|
|
volumes:
|
|
|
|
- name: nas
|
|
|
|
nfs:
|
|
|
|
path: /mnt/thePool/thePoolShare
|
|
|
|
server: 10.0.0.10
|
|
|
|
- name: bazarr-config
|
|
|
|
persistentVolumeClaim:
|
|
|
|
claimName: bazarr-config
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: PersistentVolumeClaim
|
|
|
|
metadata:
|
|
|
|
name: bazarr-config
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
accessModes:
|
|
|
|
- ReadWriteOnce
|
|
|
|
resources:
|
|
|
|
requests:
|
|
|
|
storage: 1Gi
|
|
|
|
storageClassName: longhorn
|
|
|
|
---
|
|
|
|
apiVersion: v1
|
|
|
|
kind: Service
|
|
|
|
metadata:
|
|
|
|
name: headless-bazarr
|
|
|
|
namespace: default
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
app: bazarr
|
|
|
|
ports:
|
|
|
|
- port: 6767
|
|
|
|
targetPort: 6767
|
|
|
|
protocol: TCP
|
|
|
|
type: ClusterIP
|
|
|
|
---
|
2024-07-08 22:30:58 -04:00
|
|
|
apiVersion: networking.k8s.io/v1
|
|
|
|
kind: Ingress
|
2024-07-06 20:13:50 -04:00
|
|
|
metadata:
|
|
|
|
name: bazarr
|
|
|
|
namespace: default
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/ingress.class: traefik-external
|
|
|
|
spec:
|
2024-07-08 22:30:58 -04:00
|
|
|
rules:
|
2024-07-08 23:09:24 -04:00
|
|
|
- host: "bazarr.mafyuh.com"
|
2024-07-08 22:30:58 -04:00
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
backend:
|
|
|
|
service:
|
|
|
|
name: headless-bazarr
|
|
|
|
port:
|
|
|
|
number: 6767
|
2024-07-06 20:13:50 -04:00
|
|
|
tls:
|
2024-07-08 22:30:58 -04:00
|
|
|
- hosts:
|
2024-07-08 23:26:00 -04:00
|
|
|
- "bazarr.local.mafyuh.com"
|
2024-07-08 22:30:58 -04:00
|
|
|
secretName: local-mafyuh-com-production-tls
|
|
|
|
|
2024-07-07 15:56:18 -04:00
|
|
|
---
|
|
|
|
apiVersion: traefik.io/v1alpha1
|
|
|
|
kind: IngressRoute
|
|
|
|
metadata:
|
|
|
|
name: bazarr-pub
|
|
|
|
namespace: default
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/ingress.class: traefik-external
|
|
|
|
spec:
|
|
|
|
entryPoints:
|
|
|
|
- web
|
|
|
|
routes:
|
|
|
|
- match: Host(`bazarr.mafyuh.com`)
|
|
|
|
kind: Rule
|
|
|
|
services:
|
|
|
|
- name: headless-bazarr
|
|
|
|
port: 6767
|
|
|
|
middlewares:
|
|
|
|
- name: default-headers
|