Commit Graph

1149 Commits

Author SHA1 Message Date
Frederic Branczyk
0c35d73e2c kube-prometheus: drop conntrack alerts and direct up alerts 2017-06-06 15:22:28 +02:00
eedugon
3238ba257a small changes in k8s/minikube and example-app (#392)
* namespace has to be kube-system

In order for this service to be discovered by ServiceMonitor k8s-apps-http, it should belong to namespace kube-system.

* namespace has to be kube-system

* namespace has to be kube-system

for service discovery to work within prometheus configuration (ServiceMonitor k8s-app) these service and endpoints should belong to kube-system namespace. Otherwise the service monitor won't fetch it.

* selector was incorrect

selector prometheus: prometheus-frontend is incorrect, the name of the Prometheus resource in the example is "frontend", not "prometheus-frontend"
2017-05-31 11:55:56 -07:00
Frederic Branczyk
30cbd76944 kube-prometheus: add PROXY verb to latency alert exclusion 2017-05-31 06:39:35 -07:00
eedugon
04231a269c selector was incorrect
selector prometheus: prometheus-frontend is incorrect, the name of the Prometheus resource in the example is "frontend", not "prometheus-frontend"
2017-05-31 11:29:42 +02:00
eedugon
06cff8e9d2 namespace has to be kube-system
for service discovery to work within prometheus configuration (ServiceMonitor k8s-app) these service and endpoints should belong to kube-system namespace. Otherwise the service monitor won't fetch it.
2017-05-31 10:35:22 +02:00
eedugon
2e67b4084f namespace has to be kube-system 2017-05-31 10:33:32 +02:00
eedugon
666d7aaa0e namespace has to be kube-system
In order for this service to be discovered by ServiceMonitor k8s-apps-http, it should belong to namespace kube-system.
2017-05-31 10:30:29 +02:00
Frederic Branczyk
804f6c187b kube-prometheus: add dead man's switch 2017-05-30 17:15:59 -07:00
Frederic Branczyk
3aeca3de7b kube-prometheus: simplify service monitors 2017-05-30 17:15:43 -07:00
Frederic Branczyk
c4b382be6f kube-prometheus: add alerting rules 2017-05-30 17:15:34 -07:00
Frederic Branczyk
f0851d5e4d kube-prometheus: add prometheus-operator as target 2017-05-29 18:30:17 -07:00
Frederic Branczyk
fbab1e4212 *: bump versions 2017-05-18 11:15:34 +02:00
Fabian Reinartz
b896acf876 Make kube-state-metrics single pod deployment 2017-05-17 17:27:56 +02:00
Frederic Branczyk
fa46bd8dc0 *: bump Alertmanager version 2017-05-09 15:23:23 +02:00
Frederic Branczyk
c4491cec42 kube-prometheus: use honor_labels for kubelet config 2017-05-09 15:22:24 +02:00
Frederic Branczyk
e5938d1205 *: bump Prometheus Operator tags in manifests 2017-05-09 12:24:00 +02:00
Frederic Branczyk
4500f358c2 Merge pull request #359 from gytisgreitai/fix/correct-memory-metric
Correct metric for container requested memory in grafana dashboard
2017-05-09 11:29:48 +02:00
Gytis
e810357b8f Rename kube_pod_container_requested_memory_bytes -> kube_pod_container_resource_requests_memory_bytes in grafana dashboard 2017-05-09 12:15:59 +03:00
Frederic Branczyk
d672109608 cmd/operator: rename kubelet-object flag to kubelet-service 2017-05-09 10:20:29 +02:00
Giancarlo Rubio
33ab6917fe Watch secrets 2017-05-08 16:57:02 +02:00
Giancarlo Rubio
64c959e018 Add ability to authenticate an endpoint
Write an example for basic auth
2017-05-08 15:12:08 +02:00
Frederic Branczyk
c6c67bb450 kube-prometheus: update node-exporter to leatest release 2017-05-04 10:52:21 +02:00
Frederic Branczyk
b15843fd4c kube-prometheus: update kube-state-metrics to latest release 2017-05-04 10:51:30 +02:00
Frederic Branczyk
3e4f0d1115 kube-prometheus: separate exporters in their own directories 2017-05-04 10:49:05 +02:00
Frederic Branczyk
fadece6188 kube-prometheus: make all RBAC manifests v1beta1 2017-05-04 10:47:07 +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
Fabian Reinartz
d53553444b Remove unnecessary prometheus- prefix 2017-05-02 12:10:44 +02:00
Frederic Branczyk
b94bb77a66 alertmanager: bump default version to v0.6.1 2017-04-28 14:34:13 +02: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
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