Skip to content
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

KSM: add node.by_condition to have the conditions of individual nodes #9311

Merged
merged 1 commit into from
May 10, 2021

Conversation

L3n41c
Copy link
Member

@L3n41c L3n41c commented May 7, 2021

What does this PR do?

Add kubernetes_state.node.by_condition metric to have the conditions of individual nodes.

Motivation

The current kubernetes_state.nodes.by_condition (with an s. Plural vs. singular) metric aggregates all nodes by condition.
With this metric, we could know how many nodes were in a given condition, but not more precisely which ones.
The new metric allows to know precisely which nodes are in a given condition.

Additional Notes

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@L3n41c L3n41c merged commit 6e2b6ea into master May 10, 2021
@L3n41c L3n41c deleted the lenaic/ksm_node_by_condition branch May 10, 2021 07:25
@L3n41c L3n41c mentioned this pull request Jun 3, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants