Commit Graph

2821 Commits

Author SHA1 Message Date
Frederic Branczyk 309c677270 kube-prometheus: extract ServiceMonitors into single files
Starting with Kubernetes 1.6 `kubectl apply` works for TPRs so we can
start using it, therefore using multiple files is no issue.
2017-04-27 12:44:46 +02:00
Frederic Branczyk a0e4d3352a prometheus: remove non-namespaced alpha annotation
Now that we have the possibility to use the honor_labels configuration
there is no need for this specially treated annotation anymore.
2017-04-27 12:33:55 +02:00
Frederic Branczyk ce0a9caae7 kube-prometheus: fix deployment dashboard multiple values error 2017-04-26 16:09:15 +02:00
Fabian Reinartz db2741f805 *: cut v0.8.2 2017-04-20 17:21:16 +02:00
Fabian Reinartz 3006e963b2 Merge pull request #299 from coreos/defver
Bump default Prometheus version to 1.6.1
2017-04-20 17:14:36 +02:00
Fabian Reinartz 48bda634ce Bump default Prometheus version to 1.6.1 2017-04-20 16:08:16 +02:00
Giancarlo Rubio 2d962a310d setup service monitor for prometheus and alertanager 2017-04-20 15:02:45 +02:00
Fabian Reinartz f715d85530 cut new grafana-watcher release 2017-04-18 15:26:59 +02:00
Jeff Cook c3cb0ac749 Ensure that grafana-credentials are created first. ...
Without this, a race condition may occur, preventing grafana-watcher
from logging in to grafana.
2017-04-14 23:57:06 -06:00
Frederic Branczyk c2daa0346c cut 0.8.1 2017-04-13 16:56:00 +02:00
Giancarlo Rubio 78f543495d Increase memory limits to avoid OOMKilled
Related to https://github.com/kubernetes/kube-state-metrics/issues/112#issuecomment-292965833
2017-04-10 16:47:24 +02:00
Frederic Branczyk d743988104 kube-prometheus: remove grafana never pull policy 2017-04-07 13:52:10 +02:00
Frederic Branczyk 10965d66bf Merge pull request #270 from brancz/cut-0.8.0
cut 0.8.0
2017-04-07 13:39:04 +02:00
Frederic Branczyk 5f05aa7e07 cut 0.8.0 2017-04-07 10:58:17 +02:00
Fabian Reinartz 2d5e5d7a7c Merge pull request #266 from brancz/grafana-credentials
grafana-watcher: allow credentials from env variable
2017-04-06 16:47:28 +02:00
Frederic Branczyk 066b04322d grafana-watcher: allow credentials from env variable 2017-04-06 15:24:22 +02:00
Frederic Branczyk a2ca552f97 Documentation: Prometheus requires RBAC role for apiserver metrics 2017-04-06 13:41:27 +02:00
Frederic Branczyk b3716f5b7e Merge pull request #234 from brancz/grafana-watcher-import
grafana-watcher: revert to import endpoint
2017-03-28 07:27:07 +02:00
Brandon Philips 86e5854918 kube-prometheus: put in kube-system
These manifests should live in kube-system; otherwise the label selector
won't work.
2017-03-27 15:00:31 +02:00
Brandon Philips ce6b7009f8 kube-prometheus: fix rolebinding
This entire thing is built in the monitoring namespace but the
rolebinding was on default. This caused the operator to never launch.
2017-03-27 14:06:28 +02:00
Frederic Branczyk 75ce46eef3 grafana-watcher: revert to import endpoint
The dashboard create endpoint behaves slightly different when templating
is used. The import API works exactly the same as the front-end import
functionality.
2017-03-27 10:31:21 +02:00
Frederic Branczyk 2edd30dd6d Merge pull request #229 from brancz/kube-prometheus-rbac
kube-prometheus: add RBAC resources
2017-03-24 16:23:28 +01:00
Frederic Branczyk 59bcbb70b3 grafana-watcher: use official documented API 2017-03-24 10:31:46 +01:00
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
Fabian Reinartz 434324772f Merge pull request #60 from brancz/migration
migrate kube-prometheus to Prometheus Operator repo
2017-03-08 08:26:34 +01:00
Frederic Branczyk 676bfa1659 fix kube-prometheus references 2017-03-07 13:40:23 +01:00
Frederic Branczyk 285272bf28 *: migrate kube-prometheus to Prometheus Operator repo 2017-03-07 13:21: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
Fabian Reinartz 81c0d2f4d3 Merge pull request #59 from brancz/normalization
*: normalize namings
2017-03-04 14:19:53 +01:00
Frederic Branczyk 9e11e17a71 *: normalize namings 2017-03-03 16:43:52 +01:00
Frederic Branczyk 333bd23434 Merge pull request #56 from rutsky/nodes-memory
Split used memory on used, caches and buffers
2017-03-02 16:10:34 +01:00
Frederic Branczyk 2e2dfbcfa5 Merge pull request #57 from rutsky/wrap-dashboard
add script for wrapping saved from Grafana dashboard specifications
2017-03-02 16:08:54 +01:00
Vladimir Rutsky 05b5bc3e7e add script for wrapping saved from Grafana dashboard specifications 2017-03-02 17:47:19 +03:00