From 6ac8652e24c87e8eac36a9d1c04e9338d7237869 Mon Sep 17 00:00:00 2001 From: Vegard Hagen Date: Sun, 15 Sep 2024 15:49:53 +0200 Subject: [PATCH] chore(torrent): change torrent ports --- k8s/apps/media/arr/torrent/deployment.yaml | 4 ++-- k8s/apps/media/arr/torrent/svc-torrent.yaml | 22 +++++++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/k8s/apps/media/arr/torrent/deployment.yaml b/k8s/apps/media/arr/torrent/deployment.yaml index 8ae0354..dac6155 100644 --- a/k8s/apps/media/arr/torrent/deployment.yaml +++ b/k8s/apps/media/arr/torrent/deployment.yaml @@ -67,10 +67,10 @@ spec: - name: http containerPort: 8080 - name: tcp - containerPort: 11012 + containerPort: 10011 protocol: TCP - name: udp - containerPort: 11012 + containerPort: 10011 protocol: UDP envFrom: - configMapRef: diff --git a/k8s/apps/media/arr/torrent/svc-torrent.yaml b/k8s/apps/media/arr/torrent/svc-torrent.yaml index 2c60aa9..e4d7f03 100644 --- a/k8s/apps/media/arr/torrent/svc-torrent.yaml +++ b/k8s/apps/media/arr/torrent/svc-torrent.yaml @@ -10,11 +10,21 @@ spec: selector: app: torrent ports: - - name: tcp - port: 11011 + - name: tcp-10 + port: 10010 protocol: TCP - targetPort: tcp - - name: udp - port: 11011 + - name: udp-10 + port: 10010 + protocol: UDP + - name: tcp-11 + port: 10011 + protocol: TCP + - name: udp-11 + port: 10011 + protocol: UDP + - name: tcp-12 + port: 10012 + protocol: TCP + - name: udp-12 + port: 10012 protocol: UDP - targetPort: udp