From 2038bd6e0fc5f6b495f416263890d54747e6bfb4 Mon Sep 17 00:00:00 2001 From: aggarwalakshun Date: Fri, 15 Aug 2025 18:12:40 +0530 Subject: [PATCH] remove all ports except web --- cluster/apps/pihole/pihole-svc.yml | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/cluster/apps/pihole/pihole-svc.yml b/cluster/apps/pihole/pihole-svc.yml index 6502512..43322e6 100644 --- a/cluster/apps/pihole/pihole-svc.yml +++ b/cluster/apps/pihole/pihole-svc.yml @@ -13,26 +13,3 @@ spec: targetPort: 80 protocol: TCP name: web - - port: 53 - targetPort: 53 - protocol: TCP - name: dns-tcp ---- -apiVersion: v1 -kind: Service -metadata: - name: pihole-udp-service - namespace: default -spec: - type: LoadBalancer - selector: - app: pihole - ports: - - port: 53 - targetPort: 53 - protocol: UDP - name: dns-udp - - port: 67 - targetPort: 67 - protocol: UDP - name: dhcp