switched to deployments for easier restarts also moved pvc's after

accidntally deleting them :(
This commit is contained in:
2024-11-13 07:20:17 +01:00
parent 6c64c14934
commit 5b2b526113
24 changed files with 375 additions and 257 deletions

View File

@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: prowlarr
labels:
app.kubernetes.io/name: prowlarr
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: prowlarr
template:
metadata:
labels:
app.kubernetes.io/name: prowlarr
spec:
volumes:
- name: config
persistentVolumeClaim:
claimName: config-prowlarr
containers:
- name: prowlarr
image: ghcr.io/hotio/prowlarr:latest
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: UMASK
value: "002"
- name: TZ
value: "Etc/UTC"
ports:
- containerPort: 9696
volumeMounts:
- name: config
mountPath: /config