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]>
31 lines
637 B
YAML
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
|