Kriuchkov
6fa8bfae2e
Use etcd release-3.4 instead of master to fix broken dependency
2021-02-23 10:47:18 -05:00
redwarn
53f18a4276
modify kube-prometheus-static-etcd.libsonnet servicemonitorEtcd namespace ( #592 )
...
* Change the servicemonitorEtcd namespace kube-system to $._config.namespace
* delete Watchdog of alert rule
* Revert "delete Watchdog of alert rule"
This reverts commit 815b922ead .
Co-authored-by: tyger <tyger.cheng@oriente.com >
2020-06-30 09:15:19 +02:00
Simon Pasquier
ddd3fd7fe5
Fix AlertmanagerConfigInconsistent alert
...
Previously the alert would fire when the number of Alertmanager pods
didn't match the number of replicas defined in the Alertmanager spec
even though all the running pods had the same configuration hash. This
type of issue is already covered by KubeStatefulSetUpdateNotRolledOut
(and possibly KubePodNotReady), having AlertmanagerConfigInconsistent
also active in this situation creates unnecessary noise.
With this change, the alert expression only returns when Alertmanager
pods have different configuration hash values irrespective of the number
of pod replicas. The message annotation has also been enhanced to report
the configuration hash for each pod.
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2020-06-22 16:59:24 +02:00
Damien Grisonnet
4dd632afc0
jsonnet: pin kubernetes-mixin version
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-05-26 18:21:38 +02:00
Omer Levi Hevroni
326eecf9af
Allow to configure EKS available IPs alert
2020-04-27 08:41:30 +03:00
Jonathan Amiez
1ade732468
Enable PodMonitors discovery across namespaces
2020-03-10 15:22:16 +01:00
Sergiusz Urbaniak
6a19c05248
jsonnet: add general rules for up/down targets
2020-02-19 09:13:23 +01:00
paulfantom
7a94c41e08
jsonnet/kube-prometheus/node-exporter: fix typo
2020-01-08 14:43:39 +01:00
paulfantom
6b3cb71ab2
jsonnet/kube-prometheus/node-exporter: wrap pod ip address in square brackets for ipv6 compatibility reasons
2020-01-08 14:30:18 +01:00
John Watson
235761f915
Disable controller and scheduler alerts in managed clusters
2019-11-05 21:17:24 -08:00
karancode
4bd3cb586a
add prometheus rule to patch
2019-11-05 16:39:45 +09:00
karancode
01f944aa30
sync master with current fork
2019-11-05 16:36:56 +09: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
01d30382aa
jsonnet/kube-prometheus/alerts: Add namespace to TargetDown msg
2019-10-29 14:36:14 +01:00
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
Paul Gier
f72d49ca26
update kube-state-metrics 1.7.2 -> 1.8.0
2019-10-24 15:01:46 -05: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
karancode
a3ab6bd49b
add available_ip rule
2019-10-24 04:12:07 +09: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
karancode
8228ebd2ba
fix example
2019-10-23 00:22:59 +09:00
karancode
edb327531d
update example
2019-10-23 00:15:25 +09:00
karancode
13c114a72f
catch all eks
2019-10-23 00:15:05 +09:00
karancode
1cbc994344
fix namespace
2019-10-22 20:44:28 +09:00
karancode
cbbfa0cad5
move eks serviceMonitor to patch files
2019-10-22 20:33:03 +09:00
karancode
c156f21d50
bugfix service name
2019-10-22 02:44:57 +09:00
karancode
55db3208da
fix names for service
2019-10-22 02:33:55 +09:00
karancode
3b8e685082
add aws-eks-cni service
2019-10-22 02:24:07 +09:00
karancode
3640448229
fix name
2019-10-22 02:03:58 +09:00
karancode
19624d9def
add aws_eks_cni serviceMonitor
2019-10-22 01:45:55 +09: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
Benjamin
a16d5b69ab
Add seperate autoscaler for ksm
...
Signed-off-by: Benjamin <benjamin@yunify.com >
2019-10-16 16:02:44 +08: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
Sean Fausett
5155e57141
jsonnet/kube-prometheus/prometheus-adapter: fix nodeQuery rate for window
2019-10-08 08:48:55 +13:00
paulfantom
d2dd84bc0f
jsonnet/kube-prometheus/prometheus-adapter: fix incorrect window in containerQuery
2019-10-06 18:57:14 +02:00
paulfantom
c72ae7b63c
increase time period for rate over cadvisor metrics
2019-10-02 16:31:55 +02:00
Sergiusz Urbaniak
ee7d0d367f
jsonnet/prometheus-adapter: Fix query for k8s 1.16
2019-09-27 11:02:32 +02:00
Lili Cosic
48eefc51d9
jsonnet/kube-prometheus/kube-state-metrics: Do not drop job label
...
Currently a lot of alerts relly on the job='kube-state-metrics' label.
2019-09-26 14:14:08 +02:00
Frederic Branczyk
4da422095b
Merge pull request #239 from simonpasquier/improve-target-down-message
...
jsonnet/kube-prometheus/alerts: improve TargetDown message
2019-09-25 09:56:53 +02:00
Simon Pasquier
b9504efef7
jsonnet/kube-prometheus/alerts: improve TargetDown message
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com >
2019-09-25 09:11:03 +02:00
Lili Cosic
b6c6d39fb9
sonnet/kube-prometheus/node-exporter: Fix typo
2019-09-24 17:02:03 +02:00
Guus van Weelden
b6becc0936
removing addonResizer from ksm
...
the addonresizer could lead to problems with the kube-state-metrics
it is also removed from the ksm maintained kubernetes manifests
https://github.com/kubernetes/kube-state-metrics/pull/750
Signed-off-by: Guus van Weelden <guus.vanweelden@moia.io >
2019-09-24 14:19:59 +02:00
Lili Cosic
974d3a70be
jsonnet/kube-prometheus/kube-state-metrics: Drop ksm own labels
...
These labels are confusing and misleading, as they describe
kube-state-metrics itself not the target itself.
2019-09-23 18:28:14 +02:00
Lili Cosic
26750eadf5
Bump prometheus-operator to 0.33 release
2019-09-12 17:49:29 +02:00
Alexandre Veyrenc
81038c7f3c
Kubespray deploys CoreDNS with label k8s-app=kube-dns
2019-09-09 11:39:00 +02:00
yeya24
53ebff6465
add the missing quote
...
Signed-off-by: yeya24 <yb532204897@gmail.com >
2019-09-04 10:33:02 -04:00