Simon Pasquier
b76224662e
Merge pull request #1790 from JoaoBraveCoding/add-liveness
...
cheery-pick: Adds readinessProbe and livenessProbe to prometheus-adapter jsonnet
2022-07-07 15:02:38 +02:00
Joao Marcal
508722d5db
Adds YAML for jsonnet modified for prometheus-adapter
2022-06-21 14:17:21 +01:00
Joao Marcal
a38f7012a9
Adds port name to prometheus-adapter jsonnet
2022-06-21 14:17:05 +01:00
Joao Marcal
26c8329481
Adds YAML for jsonnet modified in the previous commit
2022-06-21 14:14:51 +01:00
Joao Marcal
3fa00f11f3
Adds readinessProbe and livenessProbe to prometheus-adapter jsonnet
...
Problem: Currently the prometheus-adapter pods are restarted at the same
time even though the deployment is configured with strategy RollingUpdate.
This happens because the kubelet does not know when the prometheus-adapter
pods are ready to start receiving requests.
Solution: Add both readinessProbe and livenessProbe to the
prometheus-adapter, this way the kubelet will know when either the pod
stoped working and should be restarted or simply when it ready to start
receiving requests.
Issue: https://bugzilla.redhat.com/show_bug.cgi?id=2048333
2022-06-21 14:14:16 +01:00
Philip Gough
b38868e361
Merge pull request #1740 from arajkumar/bp-NodeFilesystemSpaceFillingUp-gc-thershold
...
Adjust NodeFilesystemSpaceFillingUp thresholds according default kubelet GC behavior
2022-05-10 08:26:47 +01:00
Arunprasad Rajkumar
c4e43dc412
assets: regenerate
...
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com >
2022-04-28 10:40:06 +05:30
Arunprasad Rajkumar
b54ad2ea71
Adjust NodeFilesystemSpaceFillingUp thresholds according default kubelet GC behavior
...
Previously[1] we attempted to do the same, but there was a
misunderstanding about the GC behavior and it caused the alert to be
fired even before GC comes into play.
According to[2][3] kubelet GC kicks in only when `imageGCHighThresholdPercent` is hit which is set to 85% by default. However `NodeFilesystemSpaceFillingUp` is set to fire as soon as 80% usage is hit.
This commit changes the `fsSpaceFillingUpWarningThreshold` to 15% so
that we give ample time to GC to reclaim unwanted images. This commit
also changes `fsSpaceFillingUpCriticalThreshold` to 10% which gives more time to admins to react to warning before sending critical alert.
[1] https://github.com/prometheus-operator/kube-prometheus/pull/1357
[2] https://docs.openshift.com/container-platform/4.10/nodes/nodes/nodes-nodes-garbage-collection.html#nodes-nodes-garbage-collection-images_nodes-nodes-configuring
[3] https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com >
(cherry picked from commit 6ff8bfbb02 )
2022-04-27 08:03:57 +05:30
Arthur Silva Sens
125fb56d74
Merge pull request #1715 from yogeek/backport-1630-kubeproxy-monitor-0-10
...
Backport PodMonitor for kube-proxy to 0.10 release
2022-04-09 08:31:59 +01:00
Philip Gough
35a61d9a0e
Update PodMonitor for kube-proxy
...
Signed-off-by: yogeek <gdupin@gmail.com >
2022-04-08 16:21:54 +02:00
Paweł Krupa
5b9aa36169
Merge pull request #1611 from ArthurSens/release-0.10
2022-02-01 19:52:23 +01:00
Paweł Krupa (paulfantom)
142434ca2b
manifests: regenerate
...
(cherry picked from commit 35f0bca4da )
2022-02-01 17:34:19 +00:00
Paweł Krupa (paulfantom)
701e3c91eb
jsonnet: filter out kube-proxy alerts when kube-proxy is disabled
...
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl >
(cherry picked from commit 86ac6f79b1 )
2022-02-01 17:34:11 +00:00
Philip Gough
42ea595d60
Merge pull request #1561 from PhilipGough/release-0.10-patch
...
jsonnet: Bump to patch release of prometheus-operator
v0.10.0
2021-12-20 15:47:47 +00:00
Philip Gough
8ae302328f
jsonnet: Bump to patch release of prometheus-operator
2021-12-20 14:32:43 +00:00
Philip Gough
b7b9971715
Merge pull request #1559 from PhilipGough/release-0.10-patch
...
jsonnet: Bump versions for 0.10 release
2021-12-20 09:38:59 +00:00
Philip Gough
fb9021cf9a
jsonnet: Bump versions for 0.10 release
2021-12-20 09:30:36 +00:00
Philip Gough
4d6f45c5f0
Merge pull request #1552 from PhilipGough/release-0.10-prep
...
Prep for release-0.10
2021-12-17 12:24:39 +00:00
Philip Gough
c6dc6c7d1e
docs: 0.10 changelog
2021-12-17 11:38:05 +00:00
Philip Gough
ded3f7bda8
Sync dependencies prior to release-0.10
2021-12-17 11:38:05 +00:00
Philip Gough
480cb2ced4
jsonnet: Pin deps for 0.10
2021-12-17 11:38:05 +00:00
Philip Gough
23b55e7a65
docs: Add release-0.10 to compatability matrix
2021-12-17 11:12:10 +00:00
Paweł Krupa
3652ff073e
Merge pull request #1553 from PhilipGough/bump-k8s
2021-12-16 19:22:18 +01:00
Philip Gough
16bc5d63b3
jsonnet: Drop deprecated coredns_cache_misses_total
...
Deprecated via https://github.com/coredns/coredns/pull/4781
2021-12-16 18:07:14 +00:00
Philip Gough
1263e1cba3
jsonnet: Drop deprecated apiserver_longrunning_gauge and apiserver_registered_watchers metrics
...
Drop deprecated metric to fix failing test.
Dropped via https://github.com/kubernetes/kubernetes/pull/103793
2021-12-16 17:08:01 +00:00
Philip Gough
d5802ffe2d
ci: Bump k8s version and update compatability matrix
2021-12-16 17:07:38 +00:00
Paweł Krupa
ddfbed0d89
Merge pull request #813 from Blizter/example/alertmanager-custom-config
2021-12-16 10:45:33 +01:00
Paweł Krupa
3c8103b34c
Merge pull request #1543 from arajkumar/add-thanos-targetgroup
2021-12-16 10:08:37 +01:00
Arunprasad Rajkumar
1ff5273f87
Deprecate thanosSelector and keep until 0.10.0
...
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com >
2021-12-13 16:23:37 +05:30
Paweł Krupa
9b532dac0c
Merge pull request #1546 from prometheus-operator/automated-updates-main
2021-12-13 09:48:17 +01:00
Prometheus Operator Bot
b40f0aa68c
[bot] [main] Automated version update
2021-12-13 07:41:10 +00:00
Arunprasad Rajkumar
1fb864ec21
Remove thanosSelector and expose mixin._config.thanos config variable for thanos sidecar
...
This commit removes existing `thanosSelector` and exposes a single config variable `mixin._config.thanos` to customize thanos sidecar mixins. It follows same structure as d2d74dac98/mixin/config.libsonnet
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com >
2021-12-10 08:56:44 +05:30
Paweł Krupa
9ca30579f6
Merge pull request #1541 from sweetpotatoman/main
2021-12-09 10:52:47 +01:00
sweetpotatoman
c0cb286c29
change grafana deployment config checksum
2021-12-09 17:45:15 +08:00
sweetpotatoman
bd9e2d4d2d
Security: Upgrade Grafana Version, Fixes CVE-2021-43798
2021-12-09 11:33:34 +08:00
Paweł Krupa
6d013d4e4f
Merge pull request #1536 from prometheus-operator/automated-updates-main
2021-12-06 11:27:52 +01:00
Prometheus Operator Bot
0a339a710a
[bot] [main] Automated version update
2021-12-06 07:40:35 +00:00
Arthur Silva Sens
f7c9de918c
Merge pull request #1534 from junotx/k8s-rule-group
...
jsonnet: fix default empty groups for k8s PrometheusRule
2021-12-03 09:39:23 -03:00
junot
bd95a19cc3
fix default empty groups for k8s PrometheusRule
2021-12-03 14:08:59 +08:00
Arthur Silva Sens
5885e2a332
Merge pull request #1502 from paulfantom/manifests
2021-11-30 06:50:14 -03:00
paulfantom
57af486360
*: regenerate
2021-11-30 10:08:29 +01:00
paulfantom
72664d900b
examples: simplify kustomize.jsonnet
...
This also renames files to be aligned with names used in jsonnet
Signed-off-by: paulfantom <pawel@krupa.net.pl >
2021-11-30 10:08:29 +01:00
paulfantom
06fd109ebc
manifests: regenerate
2021-11-30 10:08:29 +01:00
paulfantom
724f0034ca
examples,manifests: provide only NS and CRDs in setup directory
2021-11-30 10:08:29 +01:00
Arthur Silva Sens
559bc87b35
Merge pull request #1528 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-11-29 20:46:24 -03:00
Arthur Silva Sens
8ed8f70148
Merge pull request #1521 from paulfantom/recommend-server-side-apply
...
*: point to using server-side apply with kubectl as a solution to large CRDs
2021-11-29 10:05:39 -03:00
paulfantom
7446df9fff
*: point to using server-side apply with kubectl as a solution to large CRDs
...
Signed-off-by: paulfantom <pawel@krupa.net.pl >
2021-11-29 11:58:03 +01:00
Prometheus Operator Bot
afa74891ca
[bot] [main] Automated version update
2021-11-29 07:40:47 +00:00
Paweł Krupa
431b662602
Merge pull request #1497 from paulfantom/k3s-mountpoints
2021-11-28 12:40:10 +01:00
Paweł Krupa
68aaf1cdee
Merge pull request #1527 from PhilipGough/bump
2021-11-26 12:59:57 +01:00