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
527 B
YAML
25 lines
527 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: unbound
|
|
namespace: dns
|
|
annotations:
|
|
io.cilium/lb-ipam-ips: 172.20.10.150
|
|
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.11
|
|
ports:
|
|
- name: dns
|
|
port: 53
|
|
protocol: TCP
|
|
- name: dns-udp
|
|
port: 53
|
|
protocol: UDP
|
|
selector:
|
|
app: unbound
|