Files
homelab-v/k8s/infra/network/dns/adguard/svc.yaml
T
Vegard Hagen ee41262cc2 feat(bgp): enable bgp in cilium and disable l2 announcements
Change IP of all LB Services to a different subnet

Use externalTrafficPolicy on some LB Services

Signed-off-by: Vegard Hagen <[email protected]>
2025-11-16 18:59:51 +01:00

31 lines
637 B
YAML

apiVersion: v1
kind: Service
metadata:
name: adguard
namespace: dns
annotations:
io.cilium/lb-ipam-ips: 172.20.10.153
labels:
bgp.cilium.io/advertise-service: default
bgp.cilium.io/ip-pool: default
spec:
type: LoadBalancer
externalTrafficPolicy: Local
# https://kubernetes.io/docs/concepts/services-networking/cluster-ip-allocation/
clusterIP: 10.96.0.12
ports:
- name: http
protocol: TCP
port: 3000
- name: dns-tcp
port: 53
protocol: TCP
- name: dns-udp
port: 53
protocol: UDP
- name: dchp
port: 67
protocol: UDP
selector:
app: adguard