Commit Graph

670 Commits

Author SHA1 Message Date
Frederic Branczyk
bbd5684b43 kube-prometheus: add RBAC roles for kube-state-metrics 2017-03-23 15:24:58 +01:00
Frederic Branczyk
bf67031b5c kube-prometheus: add RBAC resources 2017-03-23 15:24:53 +01:00
Frederic Branczyk
b8b3f99a4d *: bump version to v0.7.0 2017-03-17 16:09:34 +01:00
Frederic Branczyk
3bc8b3a7ae kube-prometheus: timing issue fixed with prometheus-watcher 2017-03-15 17:30:51 +01:00
Frederic Branczyk
d9086e9875 kube-prometheus: remove duplication in grafana dashboards
Datasource links were duplicated in the grafana dashboads. This now also
allows exporting grafana dashboards from the UI and just dropping them
into the assets directory and they will be wrapped by the manifest
generation script.
2017-03-13 12:08:30 +01:00
Frederic Branczyk
9ed63f191f kube-prometheus: generate manifests without kubectl
For `--dry-run` to work with kubectl a Kubernetes cluster's apiserver is
actually used, which is unnecessary for generating these manifests. This
approach also allows further customization, such as adding labels to the
generated manifests.
2017-03-13 11:17:23 +01:00
Frederic Branczyk
5546016826 prometheus: mount rule files based on label selector 2017-03-13 11:14:16 +01:00
Max Inden
f51416ba99 Update README.md 2017-03-13 09:26:20 +01:00
Frederic Branczyk
43b428caf7 Merge pull request #209 from ocadotechnology/add-resource-requests-dashboard
Add resource requests dashboard
2017-03-13 09:20:44 +01:00
Mike Bryant
52dbfc7594 Add warning about Grafana HA 2017-03-10 21:34:47 +00:00
Mike Bryant
3ac57cc9aa Update generated files 2017-03-10 20:06:56 +00:00
Mike Bryant
51778eb36e kube-prometheus: add resource requests dashboard
This presents the resource requests vs the allocatable capacity in the cluster.
2017-03-10 20:04:16 +00:00
Frederic Branczyk
83f19b0dd1 Merge pull request #205 from ocadotechnology/fix-kube-state-metrics-redeployment
Allow for multiple kube-state-metrics series
2017-03-10 20:00:11 +01:00
Mike Bryant
6a52b78990 Make kube-state-metrics HA by default, now the dashboards support it 2017-03-10 10:02:05 +00:00
Mike Bryant
3a5b762cef Update generated files 2017-03-09 21:25:27 +00:00
Mike Bryant
b85b5b6bcf Account for multiple copies of kube-state-metrics
This can happen if you run multiple replicas, or if you redeploy kube-state-metrics.
In either case, prometheus records multiple metrics with the instance ip in, and the dashboard fails.

Use aggregation functions to get sensible output in either case
2017-03-09 21:23:55 +00:00
Frederic Branczyk
e69a6f69ec alertmanager: use a secret for the config 2017-03-09 10:04:47 +01:00
Nándor István Krácser
cf5f99793b Fix k8s resource example 2017-03-08 09:49:35 +01:00
Frederic Branczyk
676bfa1659 fix kube-prometheus references 2017-03-07 13:40:23 +01:00
Frederic Branczyk
89ed6773e7 Add 'contrib/kube-prometheus/' from commit '81c0d2f4d30f63a4e274c2870c5afc89241827b0'
git-subtree-dir: contrib/kube-prometheus
git-subtree-mainline: 050ca21276696c8603375c699513ec487301ed62
git-subtree-split: 81c0d2f4d3
2017-03-06 09:55:36 +01:00