update volumes and expose port 8388
This commit is contained in:
@@ -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
|
||||||
|
|||||||
BIN
kubernetes/apps/qbittorrent/app/values.yaml
Normal file
BIN
kubernetes/apps/qbittorrent/app/values.yaml
Normal file
Binary file not shown.
@@ -0,0 +1,10 @@
|
|||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: torrent-tcp
|
||||||
|
port: 8388
|
||||||
|
targetPort: 8388
|
||||||
|
protocol: TCP
|
||||||
|
- name: torrent-udp
|
||||||
|
port: 8388
|
||||||
|
targetPort: 8388
|
||||||
|
protocol: UDP
|
||||||
@@ -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)"
|
||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user