Skip to content

Conversation

@skl
Copy link
Collaborator

@skl skl commented Feb 3, 2025

Turns out there's a variety of Kubelet scrape configurations out there:

  • Some use instance label as node IP address, others use this label as the node name
  • Some use node label as the name name, others don't have this label
  • kubelet_node_name does have a node label which seems a consistent source of the node name

This PR updates the KubeletTooManyPods alert to source the node name from kubelet_node_name and updates the tests to represent the inconsistent scrape configs.

Fixes #1015

@skl skl added the bug Something isn't working label Feb 3, 2025
@skl skl self-assigned this Feb 3, 2025
@skl skl requested a review from povilasv as a code owner February 3, 2025 10:44
@skl skl merged commit 4e1cecf into master Feb 5, 2025
18 checks passed
@skl skl deleted the skl/kubelet-node-name-KubeletTooManyPods branch February 5, 2025 23:36
rexagod pushed a commit to rexagod/kubernetes-mixin that referenced this pull request Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: found duplicate series in KubeletTooManyPods alert

2 participants