Skip to content

fix: duplication in kubelet metric led to wrong ContainerHightMemoryUsage calculation#735

Merged
gmlexx merged 1 commit into
mainfrom
alerts-fixes
Feb 4, 2026
Merged

fix: duplication in kubelet metric led to wrong ContainerHightMemoryUsage calculation#735
gmlexx merged 1 commit into
mainfrom
alerts-fixes

Conversation

@gmlexx
Copy link
Copy Markdown
Collaborator

@gmlexx gmlexx commented Feb 4, 2026

Fixing #729

Copilot AI review requested due to automatic review settings February 4, 2026 10:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes issue #729 by addressing duplicate metrics in the kubelet that caused incorrect ContainerHighMemoryUsage alert calculations. The fix adds additional label filters to ensure only cadvisor metrics are used in the memory usage calculation.

Changes:

  • Updated the ContainerHighMemoryUsage Prometheus alert rule expression to filter out duplicate kubelet metrics
  • Auto-generated corresponding Helm chart documentation update

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
charts/kof-mothership/values.yaml Added container!="" and metrics_path="/metrics/cadvisor" filters to the alert rule expression
charts/kof-mothership/README.md Auto-generated documentation reflecting the values.yaml changes

Comment thread charts/kof-mothership/values.yaml
@gmlexx gmlexx requested review from pawelzimmer February 4, 2026 10:55
@gmlexx gmlexx merged commit 0876216 into main Feb 4, 2026
18 checks passed
@gmlexx gmlexx deleted the alerts-fixes branch February 4, 2026 13:46
@github-project-automation github-project-automation Bot moved this to Done in k0rdent Feb 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants