...
1apiVersion: v1
2kind: Service
3metadata:
4 name: external-dns
5 namespace: k8s-gateway
6spec:
7 type: LoadBalancer
8 selector:
9 k8s-app: "excoredns"
10 ports:
11 - {name: metrics, protocol: TCP, port: 9153, targetPort: metrics}
12 - {name: tcp-53, protocol: TCP, port: 53}
13 - {name: udp-53, protocol: UDP, port: 53}
14---
15apiVersion: v1
16kind: Service
17metadata:
18 name: external-dns-metrics
19 namespace: k8s-gateway
20spec:
21 type: ClusterIP
22 selector:
23 k8s-app: "excoredns"
24 ports:
25 - {name: metrics, protocol: TCP, port: 9153, targetPort: metrics}
View as plain text