47 Commits

Author SHA1 Message Date
Tristan Sloughter
8dcf5ced22 upgrade grafana image to 4.1.1 2017-02-16 12:23:02 -08:00
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
0faefbb713
use prometheus-operator v0.1.0
v0.1.0 introduced handling Alertmanager clusters.
2016-12-12 20:43:36 -08:00
Justin Pye
c35ec6f5e2 The tag did not exist for "prometheus/node-exporter". So I have changed it to a valid value of "v0.13.0" 2016-12-12 13:11:22 +10:00
Frederic Branczyk
cbf8673094
manifests/exporters: update node-exporter version 2016-12-09 17:09:06 -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
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
Frederic Branczyk
20f88eed10
*: set lower resource requests 2016-12-02 14:08:14 +01:00
Fabian Reinartz
b84a3650a5 Add JSON wrapping 2016-11-04 14:25:59 -07:00
Fabian Reinartz
b7e58668df Fix deployment dashboard 2016-11-04 13:34:08 -07:00
Fabian Reinartz
a80bf28a57 Resize gauges in node dashboards 2016-11-04 13:07:18 -07:00
Fabian Reinartz
e367cfa907 Merge branch 'master' of github.com:coreos/kube-prometheus 2016-11-04 13:04:51 -07:00
Fabian Reinartz
73b8e9689d Improve deployment dashboard 2016-11-04 13:04:34 -07: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
Fabian Reinartz
ec79cbcbda Replace node dashboards
This replaces the cluster overview dashboards with new dashboards
for a cluster-wide overview and inspecting single nodes.
2016-11-03 13:57:39 -07: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
Fabian Reinartz
043131a77c Fix example-app manifests 2016-11-02 10:17:56 -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
Fabian Reinartz
2f4c847143 Remove remaining 'controller' occurrences 2016-11-01 13:27:07 -07:00
Frederic Branczyk
cd0325db49
manifests: rename controllers to operators and use deployments 2016-11-01 19:34:48 +01: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
76833542a1 Merge branch 'master' of github.com:fabxc/kube-prometheus 2016-10-24 16:55:07 +02:00
Fabian Reinartz
a5f3a11a5e Document dashboarding 2016-10-24 16:54:48 +02:00
Frederic Branczyk
a41db2ea5c
new grafana dashboards for kubernetes cluster/deployments/pods 2016-10-24 15:30:39 +02:00
Fabian Reinartz
7b92c0289a Add roadmap, fix manifests, improve hack scripts 2016-10-24 13:44:12 +02:00
Fabian Reinartz
ea5d9db5e9 Add documentation for example service monitoring 2016-10-20 17:50:52 +02:00
Frederic Branczyk
3a13331f11
manifests/grafana: add generic kubernetes deployments dashboard 2016-10-20 16:22:02 +02:00
Fabian Reinartz
dac8716683 Add manifests to deploy+monitor example app 2016-10-20 13:41:46 +02:00
Fabian Reinartz
aefb8250fc Monitor Kubernetes' etcd as headless service 2016-10-20 11:59:31 +02:00
Fabian Reinartz
91cdd46984 Enable anonymous Grafana login, add datasource 2016-10-20 11:59:03 +02:00
Fabian Reinartz
94ae2688e6 Add Grafana manifests 2016-10-20 11:05:16 +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
3f490c0eb3 Add reference to CoreOS pull secrets 2016-10-20 10:25:02 +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
Fabian Reinartz
d3dab8ef89 Split and adjust kube-state-metrics manifests 2016-10-19 13:33:21 +02:00
Fabian Reinartz
9e9e0e3cb2 Split and adjust node exporter manifests 2016-10-19 13:29:18 +02:00
Frederic Branczyk
a0b1a93799
add node-exporter, kube-state-metrics, and alertmanager controller
Also ensure that all workloads have memory requirements and limits.
2016-10-18 14:50:28 +02:00
Fabian Reinartz
a919921b32 Add prometheus controller replica set manifest 2016-10-18 11:29:18 +02:00