Commit Graph

1175 Commits

Author SHA1 Message Date
Sergiusz Urbaniak
5e75f27ae2 jsonnet: pin node-mixin due to upstream bug 2019-11-01 15:26:56 +01:00
Sergiusz Urbaniak
02369dd1da jsonnet/kube-prometheus: bump prometheus-operator 2019-11-01 14:20:12 +01:00
Sergiusz Urbaniak
a3b1121562 Merge pull request #290 from LiliC/imrove-targets-down
jsonnet/kube-prometheus/alerts: Add namespace to TargetDown msg
2019-10-29 15:44:02 +01:00
Lili Cosic
78b9183837 manifests/prometheus-rules.yaml: Regenerate file 2019-10-29 14:59:13 +01:00
Lili Cosic
01d30382aa jsonnet/kube-prometheus/alerts: Add namespace to TargetDown msg 2019-10-29 14:36:14 +01:00
Frederic Branczyk
cc389a718c Merge pull request #289 from BenoitKnecht/fix-memory-saturation-dashboard
Fix memory saturation dashboard
2019-10-29 10:38:31 +01:00
Benoît Knecht
20eb5b312a manifests: Regenerate with new node-mixin dependency
Generate manifests for fd5b77c.
2019-10-28 16:35:12 +01:00
Benoît Knecht
fd5b77cadf jsonnetfile.lock.json: Update node-mixin dependency
Upgrade to prometheus/node_exporter@d574b4b, which includes a better
metric for memory saturation.

See prometheus/node_exporter#1524.
2019-10-28 16:30:11 +01:00
Frederic Branczyk
7f2e669d46 Merge pull request #263 from Deepak1100/patch-1
Docs for rawGrafanaDashboards field
2019-10-28 14:11:56 +01:00
Deepak Jain
d99aefe276 CLOUD-3031| Deepak Jain| adding example file 2019-10-26 22:55:35 +05:30
Deepak Jain
059e74d156 Docs for rawGrafanaDashboards filed
Propose in this https://github.com/brancz/kubernetes-grafana/pull/78
2019-10-26 22:55:35 +05:30
Sergiusz Urbaniak
03b36af546 Merge pull request #282 from BenoitKnecht/prometheus-config
prometheus: Let name and replicas be set in _config
2019-10-25 09:45:11 +02:00
Frederic Branczyk
2f54bcb4c6 Merge pull request #286 from pgier/update-kube-state-metrics
Update kube-state-metrics to 1.8.0
2019-10-25 09:15:25 +02:00
Frederic Branczyk
1129dd7fb7 Merge pull request #287 from smarterclayton/bump_prometheus
jsonnet: Update to latest kubernetes-mixin
2019-10-25 09:12:45 +02:00
Clayton Coleman
6e0ca7565f jsonnet: Update to latest kubernetes-mixin
Pick up new alerts for unreachable nodes.
2019-10-25 00:23:55 -04:00
Paul Gier
ebb960ee5e update generated files for kube-state-metrics 1.7.2 -> 1.8.0 2019-10-24 15:02:29 -05:00
Paul Gier
f72d49ca26 update kube-state-metrics 1.7.2 -> 1.8.0 2019-10-24 15:01:46 -05:00
Benoît Knecht
5686d7b439 Makefile: Fix manifests target dependency (#285)
Since 1664600, manifests are built using `examples/kustomize.jsonnet`
instead of `example.jsonnet`.

This commit updates the dependencies in the `manifests` target to
reflect that change.
2019-10-24 13:37:11 +02:00
Benoît Knecht
dc77f255de prometheus: Let name and replicas be set in _config
Before #260, the Prometheus name and number of replicas could be
configured in `_config.prometheus.name` and
`_config.prometheus.replicas` respectively.

It isn't the case anymore, which means that configurations that did set
a custom name for Prometheus will get a second Prometheus instance
called `k8s` when they upgrade kube-prometheus.

This commit adds back the ability to configure both of these parameters
in `_config`.
2019-10-24 09:39:04 +02:00
Jake Utley
4e5b454ba8 Add metrics_path label to kubelet servicemonitor endpoints (#277)
* Add metrics_path label to kubelet servicemonitor endpoints

* Set kubelet metric_path label in jsonnet

* Add generated kubelet servicemonitor
2019-10-24 09:16:57 +02:00
Benoît Knecht
a7884a6c18 node-exporter: Use configured resources for kube-rbac-proxy (#279)
Since #132, `kube-rbac-proxy` resources can be configured in
`config.resources['kube-rbac-proxy']`, but the node-exporter daemonset
was still using hard-coded values.

This commit sets the request and limit resources to the configured
values for the `kube-rbac-proxy` container in the node-exporter pods.
2019-10-23 10:58:24 +02:00
Paul Gier
c8273cf9e9 Scripts and readme (#258)
* Avoid race condition when deploying quickstart example

The namespace and CRD creation must happen before any dependent objects
are created.  So we can put these in a separate directory (manifest/setup)
so they can be created before the other objects.

Some minor updates to the README and added a couple of scripts
for the quickstarts

Update travis script to avoid race condition

Signed-off-by: Paul Gier <pgier@redhat.com>

* simplify the example quickstart script and improve readme

Signed-off-by: Paul Gier <pgier@redhat.com>

* increase minikube memory to 6g for quickstart example
2019-10-23 08:38:31 +02:00
albertdb
24aebaf985 Bump prometheus-adapter and Grafana versions (#270)
* Bumping prometheus-adapter and Grafana versions

* Bumping prometheus-adapter version in libsonnet file

* Regenerating lockfile

* Bumping Grafana version in libsonnet file

* Updating kustomization.yaml
2019-10-21 12:42:19 +02:00
Frederic Branczyk
3d5fc3e38d Merge pull request #252 from benjaminhuo/ksm-autoscaler
Add cluster-proportional-vertical-autoscaler as a seperate deployment for ksm
2019-10-16 15:38:29 +02:00
Frederic Branczyk
86cd3bc703 Merge pull request #262 from liuxu623/master
Add k8s-resources-node dashboard
2019-10-16 13:12:48 +02:00
liuxu
ace8b4d6d3 add k8s-resources-node dashboard 2019-10-16 16:49:33 +08:00
Benjamin
a16d5b69ab Add seperate autoscaler for ksm
Signed-off-by: Benjamin <benjamin@yunify.com>
2019-10-16 16:02:44 +08:00
Frederic Branczyk
4e846a146f Merge pull request #265 from kpucynski/grafana-dashboards-update
Grafana dashboards update
2019-10-14 16:24:35 +02:00
Karol Pucynski
e7c3ca314d Grafana dashboards update 2019-10-14 16:00:06 +02:00
Frederic Branczyk
1ebce4955a Merge pull request #264 from paulfantom/ci_fixes
Do not download tooling when it is already available
2019-10-14 14:13:01 +02:00
paulfantom
7a2befe7fa *: Assume jb and embedmd are already available 2019-10-14 13:49:33 +02:00
paulfantom
bbd991a3b2 *: add names to CI jobs 2019-10-14 12:32:37 +02:00
Frederic Branczyk
8405360a46 Merge pull request #261 from s-urbaniak/prometheus-anti-affinity
jsonnet/kube-prometheus/kube-promehtues-anti-affinity: fix construction
2019-10-08 17:52:06 +02:00
Sergiusz Urbaniak
bd8d597f8d jsonnet/kube-prometheus/kube-promehtues-anti-affinity: fix construction
Currently, anti affinity sources configuration from the global configuration,
not respecting local prometheus settings.

This fixes it.
2019-10-08 17:30:12 +02:00
Sergiusz Urbaniak
bcadf3ae05 Merge pull request #260 from s-urbaniak/prometheus-constructor
kube-prometheus/prometheus: Add local configuration
2019-10-08 17:16:01 +02:00
Sergiusz Urbaniak
40a5dc2b71 kube-prometheus/prometheus: Add local configuration
This adds constructor'esque configuration options for prometheus assets.
They still reference global _config default values for backwards compatibility
but allow overriding values for new instances of prometheus assets.
2019-10-08 11:37:26 +02:00
Paweł Krupa
52685175f2 Merge pull request #259 from gitfool/fix-nodequery
Fix nodeQuery rate for window
2019-10-08 10:06:58 +02:00
Sean Fausett
6ec81661fa manifests: regenerate 2019-10-08 08:51:14 +13:00
Sean Fausett
5155e57141 jsonnet/kube-prometheus/prometheus-adapter: fix nodeQuery rate for window 2019-10-08 08:48:55 +13:00
Frederic Branczyk
73395e6d78 Merge pull request #257 from paulfantom/fix_window
fix incorrect window in containerQuery
2019-10-07 10:47:54 +02:00
paulfantom
a9f7b03f27 manifests: regenerate 2019-10-07 10:34:24 +02:00
paulfantom
d2dd84bc0f jsonnet/kube-prometheus/prometheus-adapter: fix incorrect window in containerQuery 2019-10-06 18:57:14 +02:00
Paweł Krupa
21ace9b55e increase time period for rate over cadvisor metrics (#254)
increase time period for rate over cadvisor metrics
2019-10-02 17:18:30 +02:00
paulfantom
dfb626837f manifests: regenerate 2019-10-02 16:38:20 +02:00
paulfantom
c72ae7b63c increase time period for rate over cadvisor metrics 2019-10-02 16:31:55 +02:00
Sergiusz Urbaniak
f458e85e5d Merge pull request #248 from s-urbaniak/fix_116
jsonnet/prometheus-adapter: Fix query for k8s 1.16
2019-09-27 11:20:29 +02:00
Sergiusz Urbaniak
ee7d0d367f jsonnet/prometheus-adapter: Fix query for k8s 1.16 2019-09-27 11:02:32 +02:00
Lili Cosic
139df678f0 Merge pull request #247 from LiliC/bump-mixins
Bump dependencies
2019-09-26 15:14:25 +02:00
Lili Cosic
0f5400e5fe manifests: Regenerate files 2019-09-26 14:53:40 +02:00
Lili Cosic
3924379e84 jsonnetfile.lock.json: Bump all deps 2019-09-26 14:46:11 +02:00