apiVersion: v1 kind: Service metadata: namespace: kube-system name: kube-dns-prometheus-discovery labels: k8s-app: kube-dns spec: selector: k8s-app: kube-dns type: ClusterIP clusterIP: None ports: - name: http-metrics-skydns port: 10055 targetPort: 10055 protocol: TCP - name: http-metrics-dnsmasq port: 10054 targetPort: 10054 protocol: TCP