From 7bfc31baf2d6785122bc30bf882f376a0c1e1072 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Tue, 9 Dec 2025 00:17:27 +0000 Subject: [PATCH] pihole --- pihole/pihole.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pihole/pihole.yml b/pihole/pihole.yml index 35f69f0..30b9016 100644 --- a/pihole/pihole.yml +++ b/pihole/pihole.yml @@ -4,28 +4,27 @@ kind: Service metadata: name: pihole namespace: default + annotations: + metallb.universe.tf/loadBalancerIPs: 192.168.0.201 # ← assign static LAN IP for DNS spec: - type: NodePort + type: LoadBalancer selector: app: pihole ports: - name: web + protocol: TCP port: 80 targetPort: 80 - nodePort: 30080 - protocol: TCP - name: dns-udp + protocol: UDP port: 53 targetPort: 53 - nodePort: 30053 - protocol: UDP - name: dns-tcp + protocol: TCP port: 53 targetPort: 53 - nodePort: 30054 - protocol: TCP --- apiVersion: apps/v1