62 lines
No EOL
1.4 KiB
YAML
62 lines
No EOL
1.4 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: qbittorrent
|
|
namespace: download
|
|
|
|
labels:
|
|
app: qbittorrent
|
|
kubernetes.io/name: "qbittorrent"
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: qbittorrent
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: qbittorrent
|
|
spec:
|
|
containers:
|
|
- name: qbittorrent
|
|
image: lscr.io/linuxserver/qbittorrent:latest
|
|
env:
|
|
- name: PGID
|
|
value: "1000"
|
|
- name: PUID
|
|
value: "1000"
|
|
- name: TZ
|
|
value: America/New_York
|
|
- name: WEBUI_PORT
|
|
value: "8080"
|
|
ports:
|
|
- name: http
|
|
containerPort: 8080
|
|
volumeMounts:
|
|
- name: qbittorrent-config
|
|
mountPath: /config
|
|
- name: qbit-download-storage
|
|
mountPath: /storage/Torrents
|
|
|
|
- name: gluetun
|
|
image: qmcgaw/gluetun
|
|
env:
|
|
- name: FIREWALL
|
|
value: "off"
|
|
- name: DOT
|
|
value: "off"
|
|
envFrom:
|
|
- secretRef:
|
|
name: vpnconfig
|
|
securityContext:
|
|
capabilities:
|
|
add:
|
|
- NET_ADMIN
|
|
|
|
volumes:
|
|
- name: qbittorrent-config
|
|
hostPath:
|
|
path: /mnt/MainPool/Kubernetes/qbittorrent
|
|
- name: qbit-download-storage
|
|
hostPath:
|
|
path: /mnt/MainPool/Media/Torrents |