42 lines
869 B
YAML
42 lines
869 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: qbittorrent
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: qbittorrent
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: qbittorrent
|
|
spec:
|
|
containers:
|
|
- name: qbittorrent
|
|
image: linuxserver/qbittorrent:20.04.1
|
|
ports:
|
|
- containerPort: 8080
|
|
env:
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: "Asia/Kolkata"
|
|
volumeMounts:
|
|
- name: downloads
|
|
mountPath: /downloads
|
|
- name: config
|
|
mountPath: /config
|
|
volumes:
|
|
- name: config
|
|
persistentVolumeClaim:
|
|
claimName: longhorn-qbittorrent
|
|
- name: downloads
|
|
nfs:
|
|
server: 10.0.0.123
|
|
path: /merge/downloads
|