2022-03-30 17:11:15 +00:00
|
|
|
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)
|
2022-03-30 17:11:15 +00:00
|
|
|
- 192.168.43.161
|