mirror of
				https://github.com/optim-enterprises-bv/homelab.git
				synced 2025-11-01 10:27:49 +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 |   namespace: net-aux | ||||||
|   annotations: |   annotations: | ||||||
|     io.cilium/lb-ipam-ips: 192.168.1.153 |     io.cilium/lb-ipam-ips: 192.168.1.153 | ||||||
|     io.cilium/lb-ipam-sharing-key: net-aux |  | ||||||
| spec: | spec: | ||||||
|   selector: |   selector: | ||||||
|     app: net-aux |     app: net-aux | ||||||
| @@ -15,32 +14,18 @@ spec: | |||||||
|       port: 5335 |       port: 5335 | ||||||
|       protocol: TCP |       protocol: TCP | ||||||
|       targetPort: unbound-dns-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 |     - name: unbound-dns-udp | ||||||
|       port: 5335 |       port: 5335 | ||||||
|       protocol: UDP |       protocol: UDP | ||||||
|       targetPort: unbound-dns-udp |       targetPort: unbound-dns-udp | ||||||
|  |     - name: dns-tcp | ||||||
|  |       port: 53 | ||||||
|  |       protocol: TCP | ||||||
|  |       targetPort: dns-tcp | ||||||
|     - name: dns-udp |     - name: dns-udp | ||||||
|       port: 53 |       port: 53 | ||||||
|       protocol: UDP |       protocol: UDP | ||||||
|       targetPort: dns-udp |       targetPort: dns-udp | ||||||
|  |     - name: http | ||||||
|  |       port: 80 | ||||||
|  |       targetPort: http | ||||||
| @@ -5,7 +5,6 @@ metadata: | |||||||
|   namespace: pi-hole |   namespace: pi-hole | ||||||
|   annotations: |   annotations: | ||||||
|     io.cilium/lb-ipam-ips: 192.168.1.154 |     io.cilium/lb-ipam-ips: 192.168.1.154 | ||||||
|     io.cilium/lb-ipam-sharing-key: pi-hole |  | ||||||
| spec: | spec: | ||||||
|   selector: |   selector: | ||||||
|     app: pi-hole |     app: pi-hole | ||||||
| @@ -18,20 +17,6 @@ spec: | |||||||
|       port: 53 |       port: 53 | ||||||
|       protocol: TCP |       protocol: TCP | ||||||
|       targetPort: dns-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 |     - name: dns-udp | ||||||
|       port: 53 |       port: 53 | ||||||
|       protocol: UDP |       protocol: UDP | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Vegard Hagen
					Vegard Hagen