feat: switch adguard dns to a dedicated metallb IP

This commit is contained in:
2026-06-16 00:26:13 +02:00
parent 3d03ab1ea4
commit 85d35f86a7
3 changed files with 26 additions and 20 deletions
+26
View File
@@ -1,5 +1,31 @@
apiVersion: v1
kind: Service
metadata:
name: adguard-lb-service
namespace: adguard
annotations:
metallb.io/loadBalancerIPs: "192.168.80.3"
spec:
type: LoadBalancer
externalTrafficPolicy: Local
selector:
app: adguard
ports:
- name: dns-udp
port: 53
targetPort: 53
protocol: UDP
- name: dns-tcp
port: 53
targetPort: 53
protocol: TCP
- name: dot
port: 853
targetPort: 853
protocol: TCP
---
apiVersion: v1
kind: Service
metadata:
name: adguard-service
namespace: adguard