Files
home-cluster-ops/apps/qbittorrent/base/service.yaml
2024-08-26 15:40:36 +10:00

29 lines
630 B
YAML

apiVersion: v1
kind: Service
metadata:
name: qbittorrent
namespace: qbittorrent
annotations:
metallb.universe.tf/address-pool: k3s-cluster-ip-pool
metallb.universe.tf/allow-shared-ip: k3s-cluster
labels:
app.kubernetes.io/name: qbittorrent
spec:
selector:
app.kubernetes.io/name: qbittorrent
type: LoadBalancer
internalTrafficPolicy: Cluster
ports:
- protocol: TCP
port: 18880
targetPort: 8080
name: qb-ui
- protocol: TCP
port: 6881
targetPort: 6881
name: torrenting
- protocol: UDP
port: 6881
targetPort: 6881
name: torrenting-udp