Files
kube-prometheus/manifests/k8s/kube-controller-manager-bootkube-vagrant-multi.yaml
Frederic Branczyk 0c1bb5c1c9 manifests: remove prometheus.io/scrape annotations
These annotations made sense in pre v1.3.0 Prometheus releases, however,
with >=v1.3.0 and the Prometheus Operator these annotations are more
confusing then helpful.
2016-12-02 14:10:53 +01:00

17 lines
316 B
YAML

apiVersion: v1
kind: Service
metadata:
name: kube-controller-manager-prometheus-discovery
labels:
k8s-app: kube-controller-manager
spec:
selector:
k8s-app: kube-controller-manager
type: ClusterIP
clusterIP: None
ports:
- name: prometheus
port: 10252
targetPort: 10252
protocol: TCP