apiVersion: v1 kind: Service metadata: name: adguard-svc spec: ports: - name: http protocol: TCP port: 80 targetPort: 3000 - name: dns protocol: UDP port: 53 selector: app: adguard externalIPs: # Node's physical IP / Internet accessible IP / Wireguard accessible IP # # Only exposing the DNS server as the dashboard only listens to the specified # hostname (cf ingress file) - 10.11.0.1