chore: Use StatefulSet for deployment with PVCs
This commit is contained in:
parent
ae1414eddf
commit
b845de559c
5 changed files with 35 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue