Frederic Branczyk
3e4f0d1115
kube-prometheus: separate exporters in their own directories
2017-05-04 10:49:05 +02:00
Tapani Moilanen
6a12f669f7
Use kubectl apply in custom service example deploy
...
https://github.com/kubernetes/kubernetes/issues/29542 has been fixed,
use apply instead of create to create third party resources in custom service
monitoring example.
2017-05-03 20:02:22 +03:00
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
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
066b04322d
grafana-watcher: allow credentials from env variable
2017-04-06 15:24:22 +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
Frederic Branczyk
bf67031b5c
kube-prometheus: add RBAC resources
2017-03-23 15:24:53 +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
Frederic Branczyk
e69a6f69ec
alertmanager: use a secret for the config
2017-03-09 10:04:47 +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