-
Notifications
You must be signed in to change notification settings - Fork 4
update prometheus-community dependencies #109
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| apiVersion: v2 | ||
| description: Kubex Collection Stack | ||
| name: kubex-automation-stack | ||
| version: 1.0.11 | ||
| version: 1.0.12 | ||
| type: application | ||
| icon: https://www.kubex.ai/wp-content/uploads/kubex-by-densify-logo.png | ||
| dependencies: | ||
| - name: container-optimization-data-forwarder | ||
| version: "4.*.*" | ||
| repository: https://densify-dev.github.io/helm-charts | ||
| - name: prometheus | ||
| version: "27.*.*" | ||
| version: "29.*.*" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CONTENT OF THIS REVIEW IS AI GENERATED [Severity: Major] [Confidence: High] Location: charts/kubex-automation-stack/values.yaml (kube-state-metrics sub-chart block, ~line 47) Issue: Why it matters: With Suggested fix:
prometheus:
kube-state-metrics:
service:
annotations:
prometheus.io/scrape: "false"
|
||
| repository: https://prometheus-community.github.io/helm-charts | ||
| condition: stack.prometheus.deploy | ||
| - name: k8s-ephemeral-storage-metrics | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| apiVersion: v2 | ||
| description: Kubex Collection Stack for GKE Autopilot Clusters | ||
| name: kubex-collection-gke-autopilot | ||
| version: 1.0.6 | ||
| version: 1.0.7 | ||
| type: application | ||
| icon: https://www.kubex.ai/wp-content/uploads/kubex-by-densify-logo.png | ||
| dependencies: | ||
| - name: container-optimization-data-forwarder | ||
| version: "4.*.*" | ||
| repository: https://densify-dev.github.io/helm-charts | ||
| - name: kube-state-metrics | ||
| version: "6.*.*" | ||
| version: "7.*.*" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CONTENT OF THIS REVIEW IS AI GENERATED [Severity: Major] [Confidence: High] Location: charts/kubex-collection-gke-autopilot/Chart.yaml:12 Issue: Why it matters: The kube-state-metrics Helm chart v7 renamed and restructured several values. Notably:
The Suggested fix:
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CONTENT OF THIS REVIEW IS AI GENERATED [Severity: Major] [Confidence: Medium] Location: charts/kubex-collection-gke-autopilot/Chart.yaml:12 Issue: Why it matters: If KSM silently ignores these values, it falls back to collecting no extra label/annotation metadata. The downstream Densify platform relies on node, pod, deployment, and namespace labels being present in the KSM metrics. Loss of these labels will cause incomplete resource tagging and degraded optimization recommendations. Suggested fix: After bumping to v7, verify the exact accepted key names against the kube-state-metrics v7
Update both |
||
| repository: https://prometheus-community.github.io/helm-charts | ||
| condition: stack.runsInGKEAutopilot | ||
| keywords: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CONTENT OF THIS REVIEW IS AI GENERATED
[Severity: Major] [Confidence: High]
Location: charts/kubex-automation-stack/Chart.yaml:12
Issue: The prometheus dependency jumps two major versions (
27.*.*→29.*.*), skipping all of version 28.Why it matters: The prometheus community Helm chart introduced breaking changes across both major 28 and major 29 releases (e.g. changes to sub-chart value structure, removal of deprecated fields, RBAC and serviceAccount schema changes). Skipping an entire major is double the surface area for breakage, and any per-major migration steps documented upstream would need to be applied in sequence. If a deployment is upgraded from a chart using v27 to one using v29 without going through v28 first, subtle runtime misconfigurations can be silently deployed.
Suggested fix: Confirm the upstream release notes for both prometheus chart v28 and v29 have been reviewed end-to-end. In particular, verify:
prometheus.server,prometheus.kube-state-metrics, orprometheus.prometheus-node-exporterthat conflict with this chart'svalues.yaml.prometheusScrape,metricLabelsAllowlist) are still valid in v29.