---
apiVersion: v1
kind: Service
metadata:
  name: kube-dns
  namespace: kube-system
  annotations:
    prometheus.io/port: "9153"
    prometheus.io/scrape: "true"
  labels:
    k8s-app: kube-dns
    kubernetes.io/cluster-service: "true"
    kubernetes.io/name: "CoreDNS"
spec:
  type: NodePort
  selector:
    k8s-app: kube-dns
  clusterIP: 10.96.0.10
  ports:
  - name: dns
    port: 53
    nodePort: 30053
    protocol: UDP
  - name: dns-tcp
    port: 53
    nodePort: 30053
    protocol: TCP
  - name: metrics
    port: 9153
    protocol: TCP
    nodePort: 30153
