Files
kube-prometheus/manifests/prometheus/prometheus-k8s-svc.yaml
Fabian Reinartz e1625fecba Manifests for Kubernetes Prometheus
The Prometheus server monitoring Kubernetes should be default cover:
- node exporter
- kubelets
- kube-state-metrics
- apiservers

The version in this commit still has certificate issues with the API
server in minikube. Kubelet scraping likely only works in minikube as it
doesn't seem to use https.
2016-10-19 17:58:43 +02:00

15 lines
235 B
YAML

apiVersion: v1
kind: Service
metadata:
name: prometheus-k8s
spec:
type: NodePort
ports:
- name: web
nodePort: 30900
port: 9090
protocol: TCP
targetPort: web
selector:
prometheus.coreos.com: prometheus-k8s