apiVersion: v1
kind: Service
metadata:
  annotations:
    prometheus.io/port: '10055'
    prometheus.io/scrape: 'true'
  labels:
    addonmanager.kubernetes.io/mode: Reconcile
    k8s-app: kube-dns
    kubernetes.io/cluster-service: 'true'
    kubernetes.io/name: CoreDNS
  name: kube-dns
  namespace: kube-system
spec:
  clusterIP: '10.0.0.254'
  ports:
    - name: dns
      port: 53
      protocol: UDP
      targetPort: 10053
    - name: dns-tcp
      port: 53
      protocol: TCP
      targetPort: 10053
  selector:
    k8s-app: kube-dns
