apiVersion: v1
kind: Service
metadata:
  name: transmission-app
  namespace: transmission
  labels:
    app.kubernetes.io/name: transmission
spec:
  type: ClusterIP
  ports:
    - name: transmission
      port: 9091
      protocol: TCP
      targetPort: 9091
    - name: bt
      port: 51413
      protocol: TCP
      targetPort: 51413
    - name: bt-udp
      port: 51413
      protocol: UDP
      targetPort: 51413
  selector:
    app.kubernetes.io/name: transmission