Deploy Prowlarr

This commit is contained in:
ahmza committed 2026-11-01 12:57:42 +00:00
1 parent 6842375d47
commit ef4655086f
7 files changed
+125

No files matched your search

+43
View File
@@ -0,0 +1,43 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: prowlarr
namespace: prowlarr
spec:
# Prowlarr stores its state in one ReadWriteOnce volume, so run one Pod and
# replace it during upgrades rather than briefly starting a second writer.
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: prowlarr
template:
metadata:
labels:
app: prowlarr
spec:
containers:
- name: prowlarr
image: ghcr.io/hotio/prowlarr: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: 9696
protocol: TCP
volumeMounts:
- name: prowlarr-config
mountPath: /config
volumes:
- name: prowlarr-config
persistentVolumeClaim:
claimName: prowlarr-config
+24
View File
@@ -0,0 +1,24 @@
# Routes prowlarr.ahmza.com through the cluster's shared ingress-nginx IP.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: prowlarr
namespace: prowlarr
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
tls:
- hosts:
- prowlarr.ahmza.com
secretName: prowlarr-tls
rules:
- host: prowlarr.ahmza.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: prowlarr
port:
number: 9696
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: prowlarr
+13
View File
@@ -0,0 +1,13 @@
# Prowlarr's database and configuration must survive Pod replacements.
# No storageClassName is set, so the cluster's default Longhorn class is used.
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: prowlarr-config
namespace: prowlarr
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 2Gi
+14
View File
@@ -0,0 +1,14 @@
# A ClusterIP is reachable only inside the cluster. ingress-nginx provides
# the external HTTPS entry point defined in ingress.yaml.
apiVersion: v1
kind: Service
metadata:
name: prowlarr
namespace: prowlarr
spec:
selector:
app: prowlarr
ports:
- name: http
port: 9696
targetPort: http