Damien Grisonnet and GitHub
eb7f83a407
Drop process start time from SLI endpoints ( #2501 )
...
* jsonnet: drop process start time metric from SLI
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
* manifests: regenerate
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
---------
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2024-09-05 08:45:00 +01:00
Damien Grisonnet
89f1ee2c21
manifests: regenerate
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2024-08-27 21:48:53 +02:00
Damien Grisonnet
43f2094629
jsonnet: add component SLI metrics
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2024-08-27 21:48:38 +02:00
Damien Grisonnet and GitHub
2799245471
script/generate-versions: fix versions sort ( #2294 )
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2023-12-01 16:45:51 +00:00
Damien Grisonnet and GitHub
c330a6e428
custom-metrics: fix compilation ( #1996 )
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2023-01-27 12:30:08 +00:00
Damien Grisonnet and GitHub
af2bc1210d
Merge pull request #1446 from paulfantom/prom-op-bot-owner
...
.github/workflows: automated commits should come from @prom-op-bot account
2021-10-18 17:39:15 +02:00
Damien Grisonnet and GitHub
aaa5c3358e
Merge pull request #1442 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-10-18 11:28:33 +02:00
Damien Grisonnet and GitHub
2b2af2b974
Merge pull request #1433 from markus-codes/fix/k8s-api-deprication
...
remove deprecated policy/v1beta1 kubernetes api
2021-10-12 12:01:58 +02:00
Damien Grisonnet and GitHub
167caa3bd7
Merge pull request #1415 from ArthurSens/as/codespace-workspaces
...
Better ephemeral workspace support with Codespaces
2021-10-05 13:53:04 +02:00
Damien Grisonnet and GitHub
b65faa6a55
Merge pull request #1390 from ArthurSens/as/grafana-e2e-test
...
Add e2e tests for Grafana deployment
2021-09-30 21:40:16 +02:00
Damien Grisonnet and GitHub
22e42a48c8
Merge pull request #1414 from ArthurSens/as/fix-extension
...
Fix jsonnet extension
2021-09-30 21:38:40 +02:00
Damien Grisonnet and GitHub
50e926f0d4
Merge pull request #1412 from dgrisonnet/add-changelogs
...
Add changelogs to automated version updates
2021-09-30 21:38:17 +02:00
Damien Grisonnet and GitHub
374413f10a
Merge pull request #1409 from dgrisonnet/drop-pa-metrics
...
Drop some of the metrics exposed by prometheus-adapter
2021-09-30 17:45:15 +02:00
Damien Grisonnet
aab8d8eb88
ci: add changelogs to automated version updates
...
Add the links to the changelogs of the freshly updated components to the
automated PR that does the update. This allow verifying that we are not
missing any important changes before merging the update. This happened
recently with node-exporter 1.2 which changed some flag names that we
took 3 months to update.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-09-30 09:45:56 +02:00
Damien Grisonnet and GitHub
d7446e6244
Merge pull request #1407 from jan--f/node-exporter-1.2.2-arg-name-change
...
jsonnet/node-exporter: adjust to node-exporter v1.2.0 arg name change
2021-09-29 18:17:06 +02:00
Damien Grisonnet
5ebbb65276
jsonnet: drop some of prometheus-adapter metrics
...
The current implementation of prometheus-adapter exposes a lot of
metrics about the health of its aggregated apiserver. The issue is that
the some of these metrics are not very useful in the context of
prometheus-adapter, and we currently can't avoid exposing them since
they are registered to the Kubernetes global Prometheus registry. Until
this is improved in upstream Kubernetes, we could benefit from dropping
some of the metrics that are not very useful.
Before this change, in a default kube-prometheus installation, we would
have 800+ series for prometheus-adapter against 400+, so we divided the
number of series by two will focusing on the most valuable metrics for
prometheus-adapter.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-09-29 13:02:00 +02:00
Damien Grisonnet and GitHub
a2eee1803a
Merge pull request #1404 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-09-28 11:56:30 +02:00
Damien Grisonnet and GitHub
18287f2bbd
Merge pull request #1402 from PhilipGough/cadvisor-metrics-2
...
Keep 'container_fs_.*' metrics from cAdvisor
2021-09-28 11:13:24 +02:00
Damien Grisonnet and GitHub
53a2f066d3
Merge pull request #1401 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-09-27 12:00:29 +02:00
Damien Grisonnet and GitHub
f16bb13c67
Merge pull request #1399 from arajkumar/bump-thanos-mixin
...
thanos: bump to latest and add `thanosPrometheusCommonDimensions`
2021-09-27 11:12:32 +02:00
Damien Grisonnet and GitHub
211e758dfe
Merge pull request #1396 from PhilipGough/dropped-cadvisor-metrics
...
Adjust dropped metrics from cAdvisor
2021-09-24 18:43:06 +02:00
Damien Grisonnet and GitHub
7f1092cdde
Merge pull request #1344 from PhilipGough/MON-1085
...
jsonnet: Support scraping the config-reloader for AlertManager and Pr…
2021-09-22 16:16:48 +02:00
Damien Grisonnet and GitHub
44466ff434
Merge pull request #1388 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-09-20 16:16:29 +02:00
Damien Grisonnet and GitHub
80632e8962
Merge pull request #1365 from dgrisonnet/kubeconform
...
Run kubeconform against all supported versions of Kubernetes
2021-09-13 17:24:23 +02:00
Damien Grisonnet
e220b1019d
RELEASE.md: add release instructions
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-09-13 17:20:59 +02:00
Damien Grisonnet and GitHub
c765d231aa
Merge pull request #1375 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-09-13 11:26:58 +02:00
Damien Grisonnet and GitHub
bc82275a07
Merge pull request #1364 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-09-07 09:39:21 +02:00
Damien Grisonnet and GitHub
6f744e24a5
Merge pull request #1357 from arajkumar/adjust-NodeFilesystemSpaceFillingUp-warning-threshold
...
Adjust node filesystem space filling up warning threshold to 20%
2021-09-06 19:04:29 +02:00
Damien Grisonnet
76d7cc342b
validate: run kubeconform on supported versions
...
Instead of running kubeconform on only one version of Kubernetes, it
would be better to run it against the 2 latests versions of Kubernetes
that kube-prometheus supports, so that the validation will be in line
with our support policy.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-09-06 18:41:00 +02:00
Damien Grisonnet and GitHub
996d516363
Merge pull request #1343 from dgrisonnet/post-release-0.9
...
Follow-up to release 0.9
2021-08-20 14:31:29 +02:00
Damien Grisonnet
46ba787a94
manifests: regenerate
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-20 13:52:12 +02:00
Damien Grisonnet
27aa7afe07
.github: add automated updates of release-0.9
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-20 13:49:35 +02:00
Damien Grisonnet
9ef6dff167
jsonnet: unpin dependencies
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-20 13:49:12 +02:00
Damien Grisonnet and GitHub
0ca8df7a35
Merge pull request #1338 from dgrisonnet/cut-release-0.9
...
Cut release 0.9
2021-08-20 13:44:40 +02:00
Damien Grisonnet
4cfbfae071
Add release-0.9 CHANGELOG
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-19 16:43:34 +02:00
Damien Grisonnet
8587958cf0
Update compatibility matrix with release-0.9
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-19 16:43:34 +02:00
Damien Grisonnet
eca67844af
jsonnet: pin and update jsonnet depdencies
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-19 16:41:53 +02:00
Damien Grisonnet and GitHub
0df510d1fa
Merge pull request #1337 from dgrisonnet/kubernetes-1.22
...
Test against Kubernetes 1.22
2021-08-18 19:03:21 +02:00
Damien Grisonnet
da35954628
.github: drop support for 1.20 on main
...
According to our policy, main branch of kube-prometheus should support
the 2 latest versions of Kubernetes. These changes update the tests and
the compatibility matrix to reflect that.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-18 17:53:40 +02:00
Damien Grisonnet
b5ec93208b
jsonnet: drop deprecated etcd metric
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-18 17:27:50 +02:00
Damien Grisonnet
518c37d72d
.github: test against Kubernetes 1.22
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-18 14:04:33 +02:00
Damien Grisonnet
45adc03cfb
jsonnet: update prometheus-adapter to v0.9.0
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-17 18:05:45 +02:00
Damien Grisonnet and GitHub
c1fa4971e6
Merge pull request #1325 from paulfantom/fix-1324
...
jsonnet: set thanos config to null by default
2021-08-17 11:20:47 +02:00
Damien Grisonnet and GitHub
c69f3b4e62
Merge pull request #1330 from prometheus-operator/automated-updates-main
...
[bot] [main] Automated version update
2021-08-17 10:18:47 +02:00
Damien Grisonnet
24b0e699e4
.github: fix automated update in CI
...
Automated dependencies update in CI was failing whenever no new changes
were detected since git diff was returning 1.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-16 18:51:30 +02:00
Damien Grisonnet
0ffe13c5d2
.github: enable auto updates on release branches
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-09 18:59:30 +02:00
Damien Grisonnet and GitHub
6a150f4cc8
Merge pull request #1310 from paulfantom/full-path
...
jsonnet: use full dependency path
2021-08-09 17:53:22 +02:00
Damien Grisonnet and GitHub
33cc694f18
Merge pull request #1308 from PaytmLabs/feature/separate-thanos-rules
...
Create Thanos Sidecar rules separately from Prometheus ones
2021-08-05 16:19:01 +02:00
Damien Grisonnet and GitHub
a330e8634a
Merge pull request #1306 from paulfantom/fix-auto
...
.github: allow dispatching version updates manually and run on predefined schedule
2021-08-02 18:13:44 +02:00
Damien Grisonnet
9e8d1b0a72
.github: add remaining supported release branch
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 15:57:57 +02:00
Damien Grisonnet
844bdd9c47
.github: fix update version skip on release branch
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 15:11:41 +02:00
Damien Grisonnet
20f3cfaaeb
.github: temporarily switch to manual updates
...
Temporarily switch to manual dependencies update workflow to test if it
is updated correctly across the different release branch.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 13:38:33 +02:00
Damien Grisonnet
7542a1b055
.github: automate release branch updates
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-08-02 13:32:32 +02:00
Damien Grisonnet and GitHub
a1a9707f37
Merge pull request #1281 from prometheus-operator/paulfantom-patch-1
...
Use @prom-op-bot for automatic updates
2021-07-27 11:04:14 +02:00
Damien Grisonnet and GitHub
5f13edd1ea
Merge pull request #1279 from prometheus-operator/automated-updates
...
[bot] Automated version update
2021-07-26 15:59:18 +02:00
Damien Grisonnet and GitHub
45a466e3a7
Merge pull request #1267 from paulfantom/runbook_urlk
...
jsonnet/kube-prometheus: point to runbooks.prometheus-operator.dev
2021-07-22 17:40:04 +02:00
Damien Grisonnet and GitHub
6d9e0fb6b2
Merge pull request #1273 from paulfantom/pr-template
...
.github: add PR template
2021-07-22 17:35:52 +02:00
Damien Grisonnet and GitHub
97e77e9996
Merge pull request #1231 from dgrisonnet/fix-adapter-queries
...
Consolidate intervals used in prometheus-adapter CPU queries
2021-07-07 13:48:02 +02:00
Damien Grisonnet and GitHub
0b3db5b6b6
Merge pull request #1245 from paulfantom/make-update
...
*: add "update" target to makefile and use it in automatic updater
2021-07-07 13:45:56 +02:00
Damien Grisonnet
b9563b9c2d
jsonnet: improve adapter queries readability
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-07-05 15:29:45 +02:00
Damien Grisonnet
8812e45501
jsonnet: readjust prometheus-adapter intervals
...
Previously, prometheus-adapter configuration wasn't taking into account
the scrape interval of kubelet, node-exporter and windows-exporter
leading to getting non fresh results, and even negative results from the
CPU queries when the irate() function was extrapolating data.
To fix that, we want to set the interval used in the irate() function in
the CPU queries to 4x scrape interval in order to extrapolate data
between the last two scrapes. This will improve the freshness of the cpu
usage exposed and prevent incorrect extrapolations.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-07-05 15:28:25 +02:00
Damien Grisonnet and GitHub
2c5c20cfff
Merge pull request #1216 from fpetkovski/prometheus-adapter-cipher-suites
...
jsonnet: disable insecure cypher suites for prometheus-adapter
2021-06-23 21:19:24 +02:00
Damien Grisonnet and GitHub
836fa4f086
Merge pull request #1209 from paulfantom/test-sh
...
scripts: move test.sh script into scripts dir
2021-06-15 11:10:16 +02:00
Damien Grisonnet and GitHub
59918caf8d
Merge pull request #1207 from paulfantom/rm-hack
...
hack: remove unused directory
2021-06-15 11:07:38 +02:00
Damien Grisonnet and GitHub
df4275e3c8
Merge pull request #1206 from prometheus-operator/automated-updates
...
[bot] Automated version update
2021-06-14 18:19:50 +02:00
Damien Grisonnet and GitHub
8fada1a219
Merge pull request #1201 from paulfantom/no-grafana
...
examples: add example of running without grafana deployment
2021-06-11 14:19:19 +02:00
Damien Grisonnet and GitHub
46922c11c6
Merge pull request #1200 from paulfantom/coredns-selector
...
jsonnet: fix label selector for coredns ServiceMonitor
2021-06-11 12:44:40 +02:00
Damien Grisonnet and GitHub
a27f65e910
Merge pull request #1191 from paulfantom/fix-version-updater
...
.github: write temporary file to /tmp
2021-06-08 12:18:04 +02:00
Damien Grisonnet and GitHub
4d8104817d
Merge pull request #1131 from paulfantom/improve-all-namespace
...
jsonnet: improve all-namespaces addon
2021-06-01 11:00:55 +02:00
Damien Grisonnet and GitHub
68b926f643
Merge pull request #1170 from paulfantom/include-versions
...
scripts: include kube-rbac-proxy and config-reloader in version upgrades
2021-05-31 11:58:28 +02:00
Damien Grisonnet
a4a4d4b744
jsonnet: add PDB to prometheus-adapter
...
Adding a PodDisruptionBudget to prometheus-adapter ensure that at least
one replica of the adapter is always available. This make sure that even
during disruption the aggregated API is available and thus does not
impact the availability of the apiserver.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-05-05 16:15:25 +02:00
Damien Grisonnet
fa05e2cde8
jsonnet: export anti-affinity addon
...
Export the antiaffinity function of the anti-affinity addon to make it
possible to extend the addon to component that are not present in the
kube-prometheus stack.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-27 15:30:06 +02:00
Damien Grisonnet
4c6a06cf7e
jsonnet: make prometheus-adapter highly-available
...
Prometheus-adapter is a component of the monitoring stack that in most
cases require to be highly available. For instance, we most likely
always want the autoscaling pipeline to be available and we also want to
avoid having no available backends serving the metrics API apiservices
has it would result in both the AggregatedAPIDown alert firing and the
kubectl top command not working anymore.
In order to make the adapter highly-avaible, we need to increase its
replica count to 2 and come up with a rolling update strategy and a
pod anti-affinity rule based on the kubernetes hostname to prevent the
adapters to be scheduled on the same node. The default rolling update
strategy for deployments isn't enough as the default maxUnavaible value
is 25% and is rounded down to 0. This means that during rolling-updates
scheduling will fail if there isn't more nodes than the number of
replicas. As for the maxSurge, the default should be fine as it is
rounded up to 1, but for clarity it might be better to just set it to 1.
For the pod anti-affinity constraints, it would be best if it was hard,
but having it soft should be good enough and fit most use-cases.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-22 09:57:14 +02:00
Damien Grisonnet
ed5a2f94fc
jsonnet: fix test failures with platformPatch
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-09 12:59:18 +02:00
Damien Grisonnet
b59b2c23d8
examples: update platform snippets and doc
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-04-06 11:42:29 +02:00
Damien Grisonnet
f06175bb3b
jsonnet: add function to apply platform patches
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-31 18:00:04 +02:00
Damien Grisonnet
8973a90049
examples: use ExampleAlert instead of Watchdog
...
Replace Watchdog alerts part of the `example-group` in some examples by
ExampleAlert alerts to reinforce the fact that this is just an example.
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-25 18:11:56 +01:00
Damien Grisonnet
9f6c7d7654
examples/thanos-sidecar: fix image url
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-10 11:47:57 +01:00
Damien Grisonnet
816c73acc6
examples: cleanup thanos-sidecar addon imports
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2021-03-10 10:59:59 +01:00
Damien Grisonnet
d37a299499
jsonnet,manifests: bump grafana to v7.3.5
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-12-11 14:19:29 +01:00
Damien Grisonnet
6a05efd636
Cut release-0.7
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-12-10 09:55:20 +01:00
Damien Grisonnet
6eb8c9d123
ci: migrate to github actions
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-09-21 10:36:59 +02:00
Damien Grisonnet
152c02b7f8
manifests: regenerate
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-09-10 16:15:53 +02:00
Damien Grisonnet
9e18cf2097
jsonnet: bump kube-rbac-proxy to v0.6.0
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-09-10 16:15:35 +02:00
Damien Grisonnet
ce1bc17d98
doc: update release-0.5 compatibility
...
kubernetes-mixin release-0.4 is only supported by 1.18+
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-05-26 18:27:32 +02:00
Damien Grisonnet
be4b525774
build.sh: fix json files cleanup
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-29 13:10:32 +02:00
Damien Grisonnet
7f9b082ed3
go.mod: remove unused packages
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-07 10:56:49 +02:00
Damien Grisonnet
7b4adb08f6
test.sh: update PATH to use project tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-07 10:55:17 +02:00
Damien Grisonnet
c9900d6a57
Makefile: export GO111MODULE=on
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-07 10:38:13 +02:00
Damien Grisonnet
026425117d
Makefile: use go install instead of go build
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 18:50:56 +02:00
Damien Grisonnet
f4b8064899
README: remove make in docker guidance
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 18:15:36 +02:00
Damien Grisonnet
9a7ba10755
build.sh: update PATH to use project tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 18:15:34 +02:00
Damien Grisonnet
cb49f90491
ci: use golang tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 12:50:11 +02:00
Damien Grisonnet
a9df00baec
mod: add tooling dependencies
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 12:49:51 +02:00
Damien Grisonnet
0f6cd6d0a8
Makefile: remove containerized tooling
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-04-06 12:47:57 +02:00
Damien Grisonnet and Lili Cosic
63bdb7d931
doc: add kubernetes compatibility matrix
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
Co-Authored-By: Lili Cosic <cosiclili@gmail.com >
2020-03-31 13:39:26 +02:00
Damien Grisonnet
848285797c
doc: add note related to example.jsonnet
...
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-03-05 10:23:27 +01:00
Damien Grisonnet
b5ba409b9a
doc: update release version in customizing section
...
Fixes #435
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com >
2020-03-04 13:14:04 +01:00