chore: Use StatefulSet for deployment with PVCs

This commit is contained in:
Peter 2026-02-04 10:52:12 +01:00
parent ae1414eddf
commit b845de559c
Signed by: Peter
SSH key fingerprint: SHA256:B5tYaxBExaDm74r1px9iVeZ6F/ZDiyiy9SbBqfZYrvg
5 changed files with 35 additions and 30 deletions

View file

@ -1,6 +1,6 @@
---
apiVersion: apps/v1
kind: Deployment
kind: StatefulSet
metadata:
name: qbittorrent
namespace: qbittorrent
@ -8,6 +8,7 @@ metadata:
app: qbittorrent
spec:
replicas: 1
serviceName: qbittorrent
selector:
matchLabels:
app: qbittorrent