Add Kubernetes manifests for sabnzbd deployment, service, and persistent volume claim
All checks were successful
renovate / renovate (push) Successful in 7m8s
All checks were successful
renovate / renovate (push) Successful in 7m8s
This commit is contained in:
14
clusters/default/arr-stack/sabnzbd/sabnzbd-pvc.yml
Normal file
14
clusters/default/arr-stack/sabnzbd/sabnzbd-pvc.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: sabnzbd-longhorn
|
||||||
|
namespace: arr-stack
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
volumeMode: Filesystem
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: longhorn
|
||||||
16
clusters/default/arr-stack/sabnzbd/sabnzbd-svc.yml
Normal file
16
clusters/default/arr-stack/sabnzbd/sabnzbd-svc.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: sabnzbd-service
|
||||||
|
namespace: arr-stack
|
||||||
|
annotations:
|
||||||
|
metallb.io/allow-shared-ip: "shared-ip-1"
|
||||||
|
spec:
|
||||||
|
loadBalancerIP: 192.168.1.230
|
||||||
|
type: LoadBalancer
|
||||||
|
selector:
|
||||||
|
app: sabnzbd
|
||||||
|
ports:
|
||||||
|
- port: 8080
|
||||||
|
targetPort: 8080
|
||||||
40
clusters/default/arr-stack/sabnzbd/sabnzbd.yml
Normal file
40
clusters/default/arr-stack/sabnzbd/sabnzbd.yml
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: sabnzbd
|
||||||
|
namespace: arr-stack
|
||||||
|
spec:
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: sabnzbd
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: sabnzbd
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: sabnzbd
|
||||||
|
image: lscr.io/linuxserver/sabnzbd:latest
|
||||||
|
env:
|
||||||
|
- name: PUID
|
||||||
|
value: "1000"
|
||||||
|
- name: PGID
|
||||||
|
value: "1000"
|
||||||
|
- name: TZ
|
||||||
|
value: "Asia/Kolkata"
|
||||||
|
volumeMounts:
|
||||||
|
- name: sabnzbd-config
|
||||||
|
mountPath: /config
|
||||||
|
- name: downloads
|
||||||
|
mountPath: /downloads
|
||||||
|
volumes:
|
||||||
|
- name: sabnzbd-config
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: sabnzbd-longhorn
|
||||||
|
- name: downloads
|
||||||
|
nfs:
|
||||||
|
server: 10.0.0.123
|
||||||
|
path: /merge/downloads
|
||||||
Reference in New Issue
Block a user