Commit Graph

18 Commits

Author SHA1 Message Date
Frederic Branczyk b240d0937c hack: improve minikube deploy scripts 2017-02-28 10:42:36 +01:00
Frederic Branczyk 34fd0ebcd0 hack: allow deploying the example app in non-default namespace 2017-02-28 10:42:36 +01:00
Frederic Branczyk d4b581fa49 use ServiceMonitors to generate Prometheus Kubernetes config 2017-02-28 10:42:33 +01:00
Frederic Branczyk a468d489d6 hack/cluster-monitoring: hide expected errors and print meaning 2017-01-03 14:42:44 +01:00
Frederic Branczyk 9e319acaa9 hack/*: use kubectl apply where possible
There is an issue with kubectl apply and third party resources, so for
the time being we use create for TPRs, but apply for all manifests that
it can handle.
2017-01-03 13:22:40 +01:00
Chance Zibolski c845c3c96b Don't pass $KUBECONFIG to kubectl --kubeconfig flag
The $KUBECONFIG variable is like $PATH, and supports multiple files
separated by `:`, but --kubeconfig only takes a single file as a value.
Since kubectl picks up the $KUBECONFIG variable already, don't pass it
to kubectl.

Also, use --namespace instead of -n to support older kubectl versions.
2016-12-30 11:39:25 -08:00
Frederic Branczyk a200051578 *: cleanup and unify minikube and self-hosted discovery 2016-12-23 20:06:32 +01:00
Frederic Branczyk b867f6c9ec correctly discover the Alertmanager cluster and ServiceMonitors 2016-12-12 23:01:30 -08: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 043131a77c Fix example-app manifests 2016-11-02 10:17:56 -07:00
Frederic Branczyk 4a7ede4ffd add kubernetes alerts 2016-11-02 10:59:29 +01:00
Fabian Reinartz 2f4c847143 Remove remaining 'controller' occurrences 2016-11-01 13:27:07 -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 74a80cd19e remove xtrace 2016-10-24 17:12:30 +02:00
Fabian Reinartz 7b92c0289a Add roadmap, fix manifests, improve hack scripts 2016-10-24 13:44:12 +02:00
Fabian Reinartz 79ed777dea Fix typos 2016-10-21 11:56:21 +02:00
Fabian Reinartz ea5d9db5e9 Add documentation for example service monitoring 2016-10-20 17:50:52 +02:00
Fabian Reinartz 1a3bc51bba Document cluster monitoring 2016-10-20 17:10:47 +02:00