update volumes and expose port 8388

This commit is contained in:
2024-06-21 14:33:39 +10:00
parent ae8680ce63
commit 739d1fa4d7
5 changed files with 21 additions and 3 deletions

View File

@@ -23,11 +23,13 @@ spec:
port: 8888 port: 8888
torrent: torrent:
port: 8388 port: 8388
volumes: config:
persistence:
volumeName: "qbittorrent-config"
volumeMounts:
- name: qbittorrent-download - name: qbittorrent-download
mountPath: /download mountPath: /download
volumes:
volumeMounts:
- name: qbittorrent-download - name: qbittorrent-download
hostPath: hostPath:
path: /mnt/nfs/AppData/qbittorrent/download path: /mnt/nfs/AppData/qbittorrent/download

Binary file not shown.

View File

@@ -0,0 +1,10 @@
spec:
ports:
- name: torrent-tcp
port: 8388
targetPort: 8388
protocol: TCP
- name: torrent-udp
port: 8388
targetPort: 8388
protocol: UDP

View File

@@ -0,0 +1,4 @@
#!/bin/bash
set -e
kubectl patch service ingress-nginx-controller -n ingress-nginx --patch "$(cat kubernetes/apps/qbittorrent/scripts/ingress-nginx-svc-controller-patch.yaml)"

View File

@@ -10,6 +10,7 @@ data:
"5433": "postgresql/postgresql-replica:5432" "5433": "postgresql/postgresql-replica:5432"
"5443": "flux-system/adguard-home:5443" "5443": "flux-system/adguard-home:5443"
"6060": "flux-system/adguard-home:6060" "6060": "flux-system/adguard-home:6060"
"8388": "qbittorrent/qbittorrent-torrent:8388"
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
@@ -22,3 +23,4 @@ data:
"68": "flux-system/adguard-home:68" "68": "flux-system/adguard-home:68"
"853": "flux-system/adguard-home:853" "853": "flux-system/adguard-home:853"
"5443": "flux-system/adguard-home:5443" "5443": "flux-system/adguard-home:5443"
"8388": "qbittorrent/qbittorrent-torrent:8388"