Commit Graph

2646 Commits

Author SHA1 Message Date
Philip Gough
2b7445f75f Merge pull request #1729 from arajkumar/fix-NodeFilesystemSpaceFillingUp-thresholds
Adjust NodeFilesystemSpaceFillingUp thresholds according default kubelet GC behavior
2022-04-14 12:48:29 +01:00
Arunprasad Rajkumar
96c1c5c659 assets: regenerate
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2022-04-13 12:25:28 +05:30
Arunprasad Rajkumar
6ff8bfbb02 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>
2022-04-13 12:01:06 +05:30
Philip Gough
02c36e1170 Merge pull request #1727 from paulfantom/dco
*: remove DCO
2022-04-12 12:56:45 +01:00
Paweł Krupa (paulfantom)
7e50affafe *: remove DCO
Signed-off-by: Paweł Krupa (paulfantom) <pawel@krupa.net.pl>
2022-04-12 13:33:20 +02:00
Paweł Krupa
0e3b5e57c5 Merge pull request #1680 from dzmitry-lahoda/patch-1
containerd windows exporter in pod
2022-04-12 10:11:27 +02:00
Paweł Krupa
3369e5c92c Merge pull request #1723 from prometheus-operator/dependabot/github_actions/azure/setup-helm-2.1
build(deps): bump azure/setup-helm from 2.0 to 2.1
2022-04-12 10:02:55 +02:00
Paweł Krupa
fd828511b5 Merge pull request #1724 from ArthurSens/fix-disable-netpol
Fix networkpolicies-disabled addon
2022-04-12 09:57:45 +02:00
ArthurSens
df3de0ed7c Fix networkpolicies-disabled addon
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-04-12 07:28:14 +00:00
dependabot[bot]
6d7f9b972d build(deps): bump azure/setup-helm from 2.0 to 2.1
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 2.0 to 2.1.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Commits](https://github.com/azure/setup-helm/compare/v2.0...v2.1)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 22:36:21 +00:00
Paweł Krupa
6053258fc3 Merge pull request #1721 from ArthurSens/graf-prom-network-fix 2022-04-11 16:02:25 +02:00
Philip Gough
b79f451b07 Merge pull request #1722 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2022-04-11 08:58:45 +01:00
Prometheus Operator Bot
14f0a03028 [bot] [main] Automated version update 2022-04-11 07:43:32 +00:00
ArthurSens
8bdd526039 jsonnet/components/prometheus: Fix grafana network access
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-04-11 07:23:09 +00:00
Arthur Silva Sens
73bbec9659 Merge pull request #1716 from prometheus-operator/dependabot/github_actions/actions/stale-5
build(deps): bump actions/stale from 4 to 5
2022-04-09 08:14:33 +01:00
Arthur Silva Sens
962d1a91f5 Merge pull request #1717 from prometheus-operator/dependabot/github_actions/actions/setup-go-3
build(deps): bump actions/setup-go from 2 to 3
2022-04-09 08:13:35 +01:00
Arthur Silva Sens
0ea8653b04 Merge pull request #1711 from ArthurSens/pyrra-versions
Add pyrra to 'update versions' automation
2022-04-09 08:11:41 +01:00
dependabot[bot]
539dcbf595 build(deps): bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 22:44:08 +00:00
dependabot[bot]
db8b4c6f54 build(deps): bump actions/stale from 4 to 5
Bumps [actions/stale](https://github.com/actions/stale) from 4 to 5.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-08 22:44:05 +00:00
ArthurSens
05d996495e Add pyrra to 'update versions' automation
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-04-07 18:50:48 +00:00
Arthur Silva Sens
0c0643f984 Merge pull request #1709 from prometheus-operator/dependabot/github_actions/azure/setup-helm-2.0
build(deps): bump azure/setup-helm from 1 to 2.0
2022-04-06 06:40:29 +01:00
dependabot[bot]
dc4e06bb95 build(deps): bump azure/setup-helm from 1 to 2.0
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from 1 to 2.0.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Commits](https://github.com/azure/setup-helm/compare/v1...v2.0)

---
updated-dependencies:
- dependency-name: azure/setup-helm
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-05 22:28:58 +00:00
Arthur Silva Sens
28f71a0e1b Merge pull request #1706 from ArthurSens/as/dead-code
jsonnet/components/grafana: Address FIXME to prevent incoming bug
2022-04-05 11:23:01 +01:00
ArthurSens
3da9bcd152 jsonnet/components/grafana: Address FIXME
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-04-05 09:28:43 +00:00
Kemal Akkoyun
8d2412cf94 Merge pull request #1707 from ArthurSens/as/generate
Regenerate after #1650
2022-04-05 10:24:59 +01:00
ArthurSens
b7aeebe63f Regenerate
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
2022-04-05 08:58:14 +00:00
Arthur Silva Sens
01004de76c Merge pull request #1650 from ArthurSens/as/network-policies
Adds NetworkPolicies to all components of Kube-prometheus
2022-04-05 09:47:05 +01:00
Arthur Silva Sens
a182d78794 Merge pull request #1704 from PhilipGough/mod-tidy
Cleanup of dependencies
2022-04-04 12:58:51 +01:00
Arthur Silva Sens
037155b5c8 Merge pull request #1705 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2022-04-04 08:47:30 +01:00
Prometheus Operator Bot
a16675bc0e [bot] [main] Automated version update 2022-04-04 07:42:34 +00:00
Philip Gough
b5a49d63da test: Wrap errors using stdlib 2022-04-02 15:33:27 +01:00
Philip Gough
d0d1313ac3 mod: Update deps and remove archived errors pkg 2022-04-02 15:33:27 +01:00
Philip Gough
92cb360578 CI: Update Go and Kind versions 2022-04-02 15:33:27 +01:00
Philip Gough
779ef33dae CI: Delete unused env file 2022-04-02 15:27:38 +01:00
Philip Gough
eb0fafd789 Merge pull request #1667 from metalmatze/pyrra
Add Pyrra as (optional) component
2022-03-31 14:05:57 +01:00
Arthur Silva Sens
281d69e342 Merge pull request #1701 from JoaoBraveCoding/add-port-name
Adds port name to prometheus-adapter
2022-03-31 07:41:30 +01:00
Matthias Loibl
2dad999332 Add Pyrra as addon and commented out example.jsonnet parts 2022-03-30 21:20:13 +02:00
Joao Marcal
cf36ffb335 Adds YAML for jsonnet modified for prometheus-adapter 2022-03-30 15:35:36 +01:00
Joao Marcal
1d46f7ece9 Adds port name to prometheus-adapter jsonnet 2022-03-30 15:34:40 +01:00
Philip Gough
6f7a799b78 Merge pull request #1696 from JoaoBraveCoding/2048333
Adds readinessProbe and livenessProbe to prometheus-adapter jsonnet
2022-03-30 09:18:11 +01:00
Joao Marcal
652c6d538e Adds YAML for jsonnet modified in the previous commit 2022-03-30 07:23:05 +01:00
Joao Marcal
f6190e200a 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-03-30 07:22:55 +01:00
Simon Pasquier
d6083dcb2d Merge pull request #1699 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2022-03-28 11:01:44 +02:00
Prometheus Operator Bot
c30d8c1ef6 [bot] [main] Automated version update 2022-03-28 07:41:44 +00:00
Philip Gough
64b19b69d5 Merge pull request #1697 from prometheus-operator/dependabot/github_actions/peter-evans/create-pull-request-4
build(deps): bump peter-evans/create-pull-request from 3 to 4
2022-03-25 11:48:59 +00:00
dependabot[bot]
16e12ce24b build(deps): bump peter-evans/create-pull-request from 3 to 4
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-23 22:46:54 +00:00
Kemal Akkoyun
c11f002fe7 Merge pull request #1692 from prometheus-operator/automated-updates-main
[bot] [main] Automated version update
2022-03-21 08:48:46 +01:00
Prometheus Operator Bot
c8361720f9 [bot] [main] Automated version update 2022-03-21 07:41:58 +00:00
Dzmitry Lahoda
f748b2a0e8 containerd windows exporter in pod 2022-03-14 09:16:31 -07:00
Philip Gough
373e2b415b Merge pull request #1678 from dnsmichi/docs-mon-namespaces-0-8-values
Docs: Use `values` config in 'Monitoring other namespaces' example
2022-03-14 09:52:31 +00:00