Frederic Branczyk
3246c48913
prometheus: Add ability to whitelist Kubernetes labels
2018-03-23 16:13:28 +01:00
Alexander Holte-Davidsen
4c77a9db1d
Update Alert Manager rules for NodeDiskRunningFull with summary
2018-03-22 11:32:38 +01:00
Frederic Branczyk
07263e98c0
*: upgrade client-go
2018-03-21 14:24:45 +01:00
Frederic Branczyk
3c278a202f
Merge branch 'master' into restrict-service-monitor
2018-03-20 08:47:43 -04:00
Max Leonard Inden
310f471cf6
contrib/kube: Add rbac role to discover prometheus
...
The current example-app setup in the kube-prometheus project is able to
discover scraping targets in the default namespace. It is not able to
discover the configured Alertmanager in the monitoring namespace.
This patch adds an alertmanager-discovery rbac role, to permit the
above described action. In addition it does the following cleanups:
- Remove kubeconfig configuration in deploy and teardown script. kubectl
chooses .kube/config whenever KUBECONFIG is not set by default
- Remove namespace specification option via NAMESPACE env var. In most
of the manifests the metadata/namespace was hardcoded anyways, in
addition in the promtheus frontend role binding the service account
namespace is hardcoded to default as well.
- Instead of `kubectl {apply,delete}` individual manifests, the deploy
and teardown shell scripts {apply,delete} on the entire folder.
2018-03-19 17:13:33 +01:00
Max Leonard Inden
2f302943fe
Unify rule file label accross repository
...
In some cases we have been using `alert-rules` in some cases
`prometheus-rulefiles`. This led to confusion [1]. Instead, unify the
Prometheus rules configmap labels to:
```yaml
labels:
role: alert-rules
```
[1] https://github.com/coreos/prometheus-operator/issues/1102
2018-03-19 14:24:48 +01:00
Max Leonard Inden
3a6d38ea0e
contrib/kube: Restrict example-app servicemonitor to default ns
...
The `prometheus-frontend` role of the example app kubeprometheus section
is scoped to the default namespace. Thereby the frontend Prometheus
instance is not able to discover anything outside of the default
namespace. We might as well restrict the front end service monitor to
the default namespace too.
2018-03-19 13:34:18 +01:00
Laurent Godet
0bda22e380
Update Prometheus to 2.2.1
2018-03-14 19:34:35 +00:00
Francisco Ripoli
5d33cbb166
example service monitoring updated with missing config
...
added service account, role and role binding for the prometheus frontend
example, also updated prometheus to use the correct service account
fixes #1049
2018-03-08 17:36:05 +00:00
Alexander Holte-Davidsen
8b6ee5c18b
Add summary to Alertmanager rules where missing - updated accoring to guidelines
2018-03-05 09:52:51 +01:00
Jordan Jennings
c54468ab7b
Update to grafana 5.0.0
2018-03-01 11:32:42 -05:00
Akihito INOH
7fe4506ae4
Update alert rule for kubelet
...
Update alert rule check kubelet down ratio from 1% to 10%.
In #774 , it is changed to 1%, so returns to 10%.
2018-03-01 14:10:27 +09:00
Antoine Legrand
9764d157b1
Merge pull request #1010 from coreos/no_ingest_alert
...
Add alert if it samples aren't ingested
2018-02-28 10:43:23 +01:00
Jordan Jennings
eb636277cb
Update to Prometheus v2.2.0-rc.1
2018-02-26 10:11:56 -05:00
Frederic Branczyk
c131e54ad6
Merge pull request #995 from jordanjennings/patch-3
...
Update to grafana 5.0.0-beta5
2018-02-26 15:27:49 +01:00
Antoine Legrand
0ae6c98a48
Add alert if it no samples are ingested
2018-02-26 14:57:39 +01:00
jordanjennings
1c3fb8462f
Update to grafana 5.0.0-beta5
2018-02-26 08:24:11 -05:00
Dan Mace
80b2a511be
Give operator permission to manager alertmanagers
...
Add a missing resource to the operator's cluster role allowing it to correctly
manager alertmanagers.
2018-02-16 12:40:32 -05:00
Frederic Branczyk
414b380cfa
*: Bump Promteheus Operator version to v0.17.0
2018-02-14 14:01:23 +01:00
Frederic Branczyk
863156dcc9
*: bump Prometheus and Alertmanager versions
2018-02-14 14:01:22 +01:00
Dan Mace
936622aa3e
Add missing resource to operator role
...
Add a missing 'prometheuses/finalizers' resource to the operator cluster role.
Without this role, the operator will fail to create a default secret for a
Prometheus instance in the absence of any service monitors.
The fix seems to already be present in the `examples` version of the role; this
patch brings the contrib version in line with the example.
2018-02-13 16:05:17 -05:00
Frederic Branczyk
e8a19234dc
kube-prometheus/hack: Add generation for grafana dashboard source file
2018-02-12 11:50:04 +01:00
Frederic Branczyk
85f88025f3
kube-prometheus: Upgrade to grafana v5
2018-02-09 13:21:37 +01:00
Frederic Branczyk
ba5192bcaf
kube-prometheus: Update Grafana image
2018-02-04 16:12:54 +01:00
Frederic Branczyk
546a2e6ac6
*: Use non-root
2018-01-23 16:14:17 +01:00
Frederic Branczyk
6afb6bce43
*: re-generate manifests
2018-01-19 16:34:36 +01:00
Frederic Branczyk
52990f7951
kube-prometheus: Use non-root and Prometheus v2.1.0
2018-01-19 15:28:39 +01:00
Frederic Branczyk
f97b6af095
*: Adapt documentation and scripts to use minikube kubelet authN/authZ
2018-01-19 15:28:38 +01:00
Frederic Branczyk
f7ee14685a
kube-prometheus: Use secure kubelet metrics endpoints
2018-01-19 15:28:37 +01:00
Frederic Branczyk
e7ec3d2886
Merge pull request #901 from luisyonaldo/kubelet-clusterrole
...
Add role rules permissions to get metrics from kubelet
2018-01-17 16:41:48 +01:00
Luis Nuñez
7bac2a97d4
add permissions also on k8s manifest
2018-01-17 14:32:29 +01:00
Antoine Legrand
bcb0ba9974
Add cert expiration rules
2018-01-16 17:20:00 +01:00
Frederic Branczyk
9928a7e9c7
Merge pull request #896 from brancz/cut-0.16.1
...
Cut 0.16.1
2018-01-16 11:25:15 +01:00
Frederic Branczyk
c2eb4bdd82
Merge pull request #886 from zerda/kube-state-metrics-rbac
...
kube-prometheus: Add missing RBAC rules to kube-state-metrics
2018-01-16 10:56:46 +01:00
Frederic Branczyk
28a022e5c9
*: bump versions to v0.16.1
2018-01-16 10:19:15 +01:00
Frederic Branczyk
a74a54cd06
Merge pull request #893 from brancz/bump-versions
...
kube-prometheus: bump various versions
2018-01-16 10:12:36 +01:00
Frederic Branczyk
aacc95b74c
kube-prometheus: bump various versions
2018-01-15 14:13:26 +01:00
Matthias Loibl
85f384876e
Update kube-state-metrics rules to 1.2 ( #884 )
...
* Update kube-state-metrics rules to 1.2
* Run make generate to update all manifests
* Fix the helm chart kube-state-metrics rules
2018-01-13 11:39:31 +01:00
SilverFox
4d4323dce5
kube-prometheus: Add missing RBAC rules to kube-state-metrics
2018-01-13 08:44:53 +08:00
Frederic Branczyk
d379175bb2
*: bump version to v0.16.0
2018-01-11 20:20:22 +01:00
Frederic Branczyk
889f7cead4
Merge pull request #859 from brancz/metrics-rbac
...
kube-prometheus: Add RBAC authorization to metrics endpoints
2018-01-11 15:11:25 +01:00
Frederic Branczyk
d05a3ac486
kube-prometheus: Make grafana dashboards non-editable
2018-01-11 10:56:07 +01:00
Frederic Branczyk
5392443721
kube-prometheus: Add etcd dashboard
2018-01-10 14:46:00 +01:00
Frederic Branczyk
4402d451ae
kube-prometheus: Add RBAC authorization to metrics endpoints
2018-01-05 16:03:04 +01:00
Frederic Branczyk
a9fedc6343
kube-prometheus: Update etcd3 rules
2017-12-22 16:09:13 +01:00
Tyler Roscoe
f19cddc429
Regenerate prometheus-k8s-rules.yaml after change to prometheus.rules.yaml in c4be29f65.
2017-12-18 19:47:18 -07:00
Bradley
fb01fe91dc
Adding requested and limit values to CPU and limit value to memory
2017-12-07 18:35:58 +00:00
Xabier Larrakoetxea
d6a2b717d3
Fix cluster:container_cpu_usage:ratio rule on prometheus kubernetes files
...
Signed-off-by: Xabier Larrakoetxea <slok69@gmail.com >
2017-11-28 14:52:16 +01:00
Antoine Legrand
7c12e3379c
*: cut v0.15.0
2017-11-22 15:03:12 +01:00
Frederic Branczyk
b421172bba
kube-prometheus: re-generate manifests
2017-11-21 16:47:16 +01:00