-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update prometheus-stack (prometheus 3.0.1, operator 0.79.2) #949
Conversation
79bba10
to
550051a
Compare
9320888
to
6ed9421
Compare
d061c82
to
c4ff9b0
Compare
7a5cab7
to
aa3935c
Compare
f86f361
to
f5a009f
Compare
d911d0b
to
4cc8280
Compare
Looking for 0.79.1 here to support the |
511a18c
to
6e177ac
Compare
| datasource | package | from | to | | ----------- | ------------------------------------------------------------------------------------ | ------- | ------- | | docker | cgr.dev/du-uds-defenseunicorns/kube-state-metrics-fips | 2.13.0 | 2.14.0 | | docker | cgr.dev/du-uds-defenseunicorns/prometheus-config-reloader-fips | 0.77.1 | 0.79.1 | | docker | cgr.dev/du-uds-defenseunicorns/prometheus-fips | 2.54.1 | 3.0.1 | | docker | cgr.dev/du-uds-defenseunicorns/prometheus-operator-fips | 0.77.1 | 0.79.1 | | helm | kube-prometheus-stack | 65.3.1 | 67.2.0 | | helm | prometheus-operator-crds | 15.0.0 | 17.0.0 | | github-tags | prometheus-operator/prometheus-operator | v0.77.1 | v0.79.1 | | docker | quay.io/prometheus-operator/prometheus-config-reloader | v0.77.1 | v0.79.1 | | docker | quay.io/prometheus-operator/prometheus-operator | v0.77.1 | v0.79.1 | | docker | quay.io/prometheus/prometheus | v2.54.1 | v3.0.1 | | docker | registry.k8s.io/kube-state-metrics/kube-state-metrics | v2.13.0 | v2.14.0 | | docker | registry1.dso.mil/ironbank/opensource/kubernetes/kube-state-metrics | v2.13.0 | v2.14.0 | | docker | registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-config-reloader | v0.77.1 | v0.79.0 | | docker | registry1.dso.mil/ironbank/opensource/prometheus-operator/prometheus-operator | v0.77.1 | v0.79.0 | | docker | registry1.dso.mil/ironbank/opensource/prometheus/prometheus | v2.54.1 | v3.0.1 |
6e177ac
to
fab87c8
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Operator 0.79.2 has a fix we need for some of our endpoints, so waiting on the cgr and ib images for that. This should be fully functional now for the upstream flavor. The below is how I validate the metrics changes in the operator code: # Note that these steps deploy GitLab which can be resource intensive. This worked for me with a Colima VM setup with 12 cpu / 20gb memory
colima start --cpu 12 --memory 20 -t vz --disk 100
# Deploy core monitoring
uds run test-single-layer --set LAYER=monitoring --set FLAVOR=upstream
# Deploy gitlab test bundle
uds deploy ghcr.io/defenseunicorns/packages/uds/bundles/gitlab-test:17.6.2-uds.0 --confirm
# Portforward prometheus
kubectl port-forward svc/kube-prometheus-stack-prometheus 9090:9090 -n monitoring
# Open http://localhost:9090/targets and validate that all targets show as up (or unknown/no active targets) |
🤖 I have created a release *beep* *boop* --- ## [0.33.1](v0.33.0...v0.33.1) (2024-12-20) ### Bug Fixes * add generated target for all node IPs ([#1119](#1119)) ([033338b](033338b)) ### Miscellaneous * add action to check readiness on renovate PRs before running CI ([#1144](#1144)) ([83d81c6](83d81c6)) * **deps:** update codeql action to v3.28.0 ([#1146](#1146)) ([fe9bccf](fe9bccf)) * **deps:** update k8s-sidecar to v1.28.4 ([#1132](#1132)) ([b4f15ff](b4f15ff)) * **deps:** update loki ([#1134](#1134)) ([56d0e39](56d0e39)) * **deps:** update prometheus-stack (prometheus 3.0.1, operator 0.79.2) ([#949](#949)) ([5a35fc6](5a35fc6)) * **deps:** update support-deps ([#1131](#1131)) ([4853969](4853969)) * **deps:** update support-deps ([#1138](#1138)) ([2764d03](2764d03)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Note: This PR was initially generated by Renovate but due to changes needed in the operator/other places to support the latest Prometheus version this PR description has been scrubbed of the original contents.
Description
This PR contains a number of application updates to the prometheus stack:
2.54.1
->3.0.1
0.77.1
->0.79.2
0.77.1
->0.79.2
2.13.0
->2.14.0
Two helm chart updates are also included for the prometheus stack:
65.3.1
->67.3.1
15.0.0
->17.0.2
In addition to provide a seamless upgrade experience with the new version of Prometheus 3.0 (specifically the change in behavior around scrape protocol), the following changes were made:
fallbackScrapeProtocol
in themonitor
section of thePackage
CR specfallbackScrapeProtocol
toPrometheusText004
by default (this matches the pre-3.x behavior in Prometheus)onDeploy.after
task to annotate all existing pod and service monitors: This forces all monitors to go through the mutation cycle again and have thefallbackScrapeProtocol
added immediately, without operator intervention. Note that other options were considered (i.e. doing this via Pepr) but this was seen as the easiest and most lightweight solution.Also note that since this update includes a major version of Prometheus there are additional notes in the upstream migration guide. In testing with UDS Core and several apps on top of core no immediate issues were identified with this upgrade.
Related Issue
N/A
Type of change
Steps to Validate
The issue with metrics and scrape protocol can be seen with GitLab. To validate the proper behavior across upgrades I ran through the below steps:
To more generally validate core:
Checklist before merging