diff --git a/infra/net-aux/service.yaml b/infra/net-aux/service.yaml index 3b6f2df..1ea8acb 100644 --- a/infra/net-aux/service.yaml +++ b/infra/net-aux/service.yaml @@ -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 \ No newline at end of file + targetPort: dns-udp + - name: http + port: 80 + targetPort: http \ No newline at end of file diff --git a/infra/pi-hole/service.yaml b/infra/pi-hole/service.yaml index cd0a1cd..efa1305 100644 --- a/infra/pi-hole/service.yaml +++ b/infra/pi-hole/service.yaml @@ -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,21 +17,7 @@ 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 - targetPort: dns-udp + targetPort: dns-udp \ No newline at end of file