Merge pull request #4 from aggarwalakshun/add-sabnzbd
add sabnzbd manifests
This commit is contained in:
27
clusters/ipv6/arr-stack/sabnzbd/sabnzbd-ingress.yml
Normal file
27
clusters/ipv6/arr-stack/sabnzbd/sabnzbd-ingress.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: sabnzbd-ingress
|
||||
namespace: arr-stack
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-cloudflare
|
||||
traefik.ingress.kubernetes.io/router.middlewares: tools-authelia@kubernetescrd
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
tls:
|
||||
- hosts:
|
||||
- sabnzbd.akshun-lab.cc
|
||||
secretName: sabnzbd-tls
|
||||
rules:
|
||||
- host: sabnzbd.akshun-lab.cc
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: sabnzbd-service
|
||||
port:
|
||||
number: 8080
|
||||
14
clusters/ipv6/arr-stack/sabnzbd/sabnzbd-pvc.yml
Normal file
14
clusters/ipv6/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
|
||||
12
clusters/ipv6/arr-stack/sabnzbd/sabnzbd-svc.yml
Normal file
12
clusters/ipv6/arr-stack/sabnzbd/sabnzbd-svc.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: sabnzbd-service
|
||||
namespace: arr-stack
|
||||
spec:
|
||||
selector:
|
||||
app: sabnzbd
|
||||
ports:
|
||||
- port: 8080
|
||||
targetPort: 8080
|
||||
40
clusters/ipv6/arr-stack/sabnzbd/sabnzbd.yml
Normal file
40
clusters/ipv6/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:4.5.5
|
||||
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: 192.168.1.4
|
||||
path: /merge/downloads
|
||||
Reference in New Issue
Block a user