diff --git a/base/transmission/service.yaml b/base/transmission/service.yaml index e56f38d..563c094 100644 --- a/base/transmission/service.yaml +++ b/base/transmission/service.yaml @@ -3,10 +3,19 @@ kind: Service metadata: name: transmission spec: + type: LoadBalancer ports: - port: 9091 protocol: TCP targetPort: 9091 name: webui + - name: torrent-tcp + protocol: TCP + port: 51413 + targetPort: 51413 + - name: torrent-udp + protocol: UDP + port: 51413 + targetPort: 51413 selector: run: transmission diff --git a/install_armhf.yaml b/install_armhf.yaml index 18ba921..944447b 100644 --- a/install_armhf.yaml +++ b/install_armhf.yaml @@ -172,9 +172,18 @@ spec: port: 9091 protocol: TCP targetPort: 9091 + - name: torrent-tcp + port: 51413 + protocol: TCP + targetPort: 51413 + - name: torrent-udp + port: 51413 + protocol: UDP + targetPort: 51413 selector: app: htpc run: transmission + type: LoadBalancer --- apiVersion: v1 kind: Service diff --git a/install_x86_64.yaml b/install_x86_64.yaml index 9b9c254..367d4fc 100644 --- a/install_x86_64.yaml +++ b/install_x86_64.yaml @@ -172,9 +172,18 @@ spec: port: 9091 protocol: TCP targetPort: 9091 + - name: torrent-tcp + port: 51413 + protocol: TCP + targetPort: 51413 + - name: torrent-udp + port: 51413 + protocol: UDP + targetPort: 51413 selector: app: htpc run: transmission + type: LoadBalancer --- apiVersion: v1 kind: Service