14 Commits

Author SHA1 Message Date
Tobias Schmidt
99ef2bfe5f Fix broken kubernetes.rules 2016-11-04 08:41:35 -04:00
Tobias Schmidt
0c18531aeb Scrape Prometheus service itself 2016-11-03 20:46:04 -04:00
Tobias Schmidt
0613e00dcc Extract prometheus.yaml into assets
It's a lot easier to show and explain the Prometheus config if available
in the standard yaml format. The Kubernetes ConfigMap specs can always
be auto-generated.
2016-11-03 11:03:48 -04:00
Fabian Reinartz
d0602263c4 Fix README 2016-11-02 21:21:45 -07:00
Frederic Branczyk
2e5bcc1671
add etcd2 alerts 2016-11-02 11:03:13 +01:00
Frederic Branczyk
4a7ede4ffd
add kubernetes alerts 2016-11-02 10:59:29 +01:00
Frederic Branczyk
1795a62841
manifests: add headless services for k8s components
This way they are discoverable via the kubernetes endpoints discovery of
Prometheus.
2016-11-02 10:31:13 +01:00
Fabian Reinartz
2689d2b9a5 Fix manifests to match operator changes 2016-11-01 17:00:35 -07:00
Frederic Branczyk
12cd0fd34f
add ConfigMap generate script
This also contains the generated ConfigMaps for the grafana dashboards
as well as for alerts. These will be updated in subsequent changes as
sets of alerts and dashboards are added/updated in the respective
subdirectories in `/assets`.
2016-10-28 16:54:40 +02:00
Fabian Reinartz
7b92c0289a Add roadmap, fix manifests, improve hack scripts 2016-10-24 13:44:12 +02:00
Fabian Reinartz
aefb8250fc Monitor Kubernetes' etcd as headless service 2016-10-20 11:59:31 +02:00
Fabian Reinartz
599a0c0c90 Remove namespace for K8S monitoring
Kubernetes component metrics often have a namespace label themselves,
which is actually relevant. The target namespace label merely informs
where the scrape target is located, which is generally irrelevant for
these specific metrics.
2016-10-20 10:27:01 +02:00
Fabian Reinartz
ea476c682b Skip TLS verification for API server scraping 2016-10-20 09:01:24 +02:00
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