From d2e0582677c3f07aaf17e51c95257bf8e3eea885 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Sat, 19 Jul 2025 16:06:36 +0530 Subject: [PATCH] add udp and tcp --- cluster/apps/qbittorrent/qbittorrent-svc.yml | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/cluster/apps/qbittorrent/qbittorrent-svc.yml b/cluster/apps/qbittorrent/qbittorrent-svc.yml index 8ec7bab..885a0cf 100644 --- a/cluster/apps/qbittorrent/qbittorrent-svc.yml +++ b/cluster/apps/qbittorrent/qbittorrent-svc.yml @@ -11,3 +11,33 @@ spec: ports: - port: 8080 targetPort: 8080 + +--- +apiVersion: v1 +kind: Service +metadata: + name: qbittorrent-tcp-service + namespace: default +spec: + type: LoadBalancer + selector: + app: qbittorrent + ports: + - port: 6881 + protocol: TCP + targetPort: 6881 + +--- +apiVersion: v1 +kind: Service +metadata: + name: qbittorrent-udp-service + namespace: default +spec: + type: LoadBalancer + selector: + app: qbittorrent + ports: + - port: 6881 + targetPort: 6881 + protocol: UDP