20 Commits

Author SHA1 Message Date
Frederic Branczyk
a200051578
*: cleanup and unify minikube and self-hosted discovery 2016-12-23 20:06:32 +01:00
Frederic Branczyk
1c6bc7a387
kubernetes alerts: don't alert on multiple
bootkube starts two replicas of the scheduler and controllers manager
2016-12-14 18:10:50 -08:00
Frederic Branczyk
b867f6c9ec
correctly discover the Alertmanager cluster and ServiceMonitors 2016-12-12 23:01:30 -08:00
Frederic Branczyk
a40ca507c6
manifests/k8s: add service for discovering kube-dns metrics
The ports reflect the upstream kube-dns manifests of bootkube and
kubernetes/kubernetes.
2016-12-02 14:13:35 +01:00
Frederic Branczyk
d0c1fb522b
manifests: add Alertmanager manifests and discovery
The latest version of the Prometheus Operator requires Prometheus
>=v1.4.0 for the Alertmanger discovery feature.
2016-12-02 14:12:30 +01:00
Frederic Branczyk
20f88eed10
*: set lower resource requests 2016-12-02 14:08:14 +01:00
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