Files
kube-prometheus/manifests/k8s/self-hosted/kube-dns.yaml
Brandon Philips 86e5854918 kube-prometheus: put in kube-system
These manifests should live in kube-system; otherwise the label selector
won't work.
2017-03-27 15:00:31 +02:00

22 lines
392 B
YAML

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