mirror of
https://github.com/outbackdingo/homelab-v.git
synced 2026-08-25 14:53:19 +00:00
Change IP of all LB Services to a different subnet Use externalTrafficPolicy on some LB Services Signed-off-by: Vegard Hagen <[email protected]>
25 lines
510 B
YAML
25 lines
510 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: torrent-torrent
|
|
namespace: torrent
|
|
annotations:
|
|
io.cilium/lb-ipam-ips: 172.20.10.250
|
|
labels:
|
|
bgp.cilium.io/advertise-service: default
|
|
bgp.cilium.io/ip-pool: default
|
|
spec:
|
|
type: LoadBalancer
|
|
externalTrafficPolicy: Local
|
|
selector:
|
|
app: torrent
|
|
ports:
|
|
- name: torrent-tcp
|
|
port: 10011
|
|
targetPort: torrent-tcp
|
|
protocol: TCP
|
|
- name: torrent-udp
|
|
port: 10011
|
|
targetPort: torrent-udp
|
|
protocol: UDP
|