K3s-cluster/adguard/service.yaml

22 lines
463 B
YAML
Raw Normal View History

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
2022-03-30 17:20:26 +00:00
#
# Only exposing the DNS server as the dashboard only listens to the specified
# hostname (cf ingress file)
- 192.168.43.161