Merge pull request #3 from aggarwalakshun/bazarr
feat: add Bazarr deployment, service, and PVC configurations
This commit is contained in:
13
cluster/apps/bazarr/bazarr-pvc.yml
Normal file
13
cluster/apps/bazarr/bazarr-pvc.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: longhorn-bazarr
|
||||
namespace: default
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
15
cluster/apps/bazarr/bazarr-svc.yml
Normal file
15
cluster/apps/bazarr/bazarr-svc.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: bazarr-service
|
||||
namespace: default
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: bazarr
|
||||
ports:
|
||||
- protocol: TCP
|
||||
port: 6767
|
||||
targetPort: 6767
|
||||
nodePort: 6767
|
||||
47
cluster/apps/bazarr/bazarr.yml
Normal file
47
cluster/apps/bazarr/bazarr.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: bazarr
|
||||
namespace: default
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: bazarr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: bazarr
|
||||
spec:
|
||||
containers:
|
||||
- name: bazarr
|
||||
image: linuxserver/bazarr:1.5.1
|
||||
ports:
|
||||
- containerPort: 6767
|
||||
env:
|
||||
- name: PUID
|
||||
value: "1000"
|
||||
- name: PGID
|
||||
value: "1000"
|
||||
- name: TZ
|
||||
value: "Asia/Kolkata"
|
||||
volumeMounts:
|
||||
- name: movies
|
||||
mountPath: /movies
|
||||
- name: tv
|
||||
mountPath: /tv
|
||||
- name: config
|
||||
mountPath: /config
|
||||
volumes:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
claimName: longhorn-bazarr
|
||||
- name: tv
|
||||
nfs:
|
||||
server: 10.0.0.123
|
||||
path: merge/series
|
||||
- name: movies
|
||||
nfs:
|
||||
server: 10.0.0.123
|
||||
path: merge/movies
|
||||
Reference in New Issue
Block a user