mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-01 02:18:01 +00:00
fix(dns): Trying with both UDP and TCP on the same Service again
This commit is contained in:
@@ -5,7 +5,6 @@ metadata:
|
||||
namespace: net-aux
|
||||
annotations:
|
||||
io.cilium/lb-ipam-ips: 192.168.1.153
|
||||
io.cilium/lb-ipam-sharing-key: net-aux
|
||||
spec:
|
||||
selector:
|
||||
app: net-aux
|
||||
@@ -15,32 +14,18 @@ spec:
|
||||
port: 5335
|
||||
protocol: TCP
|
||||
targetPort: unbound-dns-tcp
|
||||
- name: dns-tcp
|
||||
port: 53
|
||||
protocol: TCP
|
||||
targetPort: dns-tcp
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: net-aux-udp
|
||||
namespace: net-aux
|
||||
# annotations:
|
||||
# io.cilium/lb-ipam-ips: 192.168.1.153
|
||||
# io.cilium/lb-ipam-sharing-key: net-aux
|
||||
spec:
|
||||
selector:
|
||||
app: net-aux
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: unbound-dns-udp
|
||||
port: 5335
|
||||
protocol: UDP
|
||||
targetPort: unbound-dns-udp
|
||||
- name: dns-tcp
|
||||
port: 53
|
||||
protocol: TCP
|
||||
targetPort: dns-tcp
|
||||
- name: dns-udp
|
||||
port: 53
|
||||
protocol: UDP
|
||||
targetPort: dns-udp
|
||||
- name: http
|
||||
port: 80
|
||||
targetPort: http
|
||||
@@ -5,7 +5,6 @@ metadata:
|
||||
namespace: pi-hole
|
||||
annotations:
|
||||
io.cilium/lb-ipam-ips: 192.168.1.154
|
||||
io.cilium/lb-ipam-sharing-key: pi-hole
|
||||
spec:
|
||||
selector:
|
||||
app: pi-hole
|
||||
@@ -18,20 +17,6 @@ spec:
|
||||
port: 53
|
||||
protocol: TCP
|
||||
targetPort: dns-tcp
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: pi-hole-udp
|
||||
namespace: pi-hole
|
||||
# annotations:
|
||||
# io.cilium/lb-ipam-ips: 192.168.1.154
|
||||
# io.cilium/lb-ipam-sharing-key: pi-hole
|
||||
spec:
|
||||
selector:
|
||||
app: pi-hole
|
||||
type: LoadBalancer
|
||||
ports:
|
||||
- name: dns-udp
|
||||
port: 53
|
||||
protocol: UDP
|
||||
|
||||
Reference in New Issue
Block a user