28 lines
479 B
YAML
28 lines
479 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: adguard-svc
|
|
namespace: adguard
|
|
labels:
|
|
app.kubernetes.io/name: adguard
|
|
spec:
|
|
ports:
|
|
- name: http
|
|
protocol: TCP
|
|
port: 3000
|
|
targetPort: 3000
|
|
- name: metrics
|
|
protocol: TCP
|
|
port: 9617
|
|
targetPort: 9617
|
|
- name: dns-udp
|
|
protocol: UDP
|
|
port: 53
|
|
targetPort: 53
|
|
- name: dns-tcp
|
|
protocol: TCP
|
|
port: 53
|
|
targetPort: 53
|
|
selector:
|
|
app: adguard
|