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

Fix metrics and handle pods baked by custom controllers #12

Merged
merged 1 commit into from
Dec 21, 2022

Conversation

adriananeci
Copy link
Contributor

Resolves #11

Better handle pods that are baked by custom controllers like KafkaCluster

This PR also improve metrics by resetting the gauge metrics in order to avoid keeping metrics for pods or nodes that are gone over eviction loops

Also, added the e2e test for metrics validation

@adriananeci adriananeci requested a review from a team as a code owner December 16, 2022 20:32
Copy link

@JonnieDoe JonnieDoe left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Member

@aalexandru aalexandru left a comment

Choose a reason for hiding this comment

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

lgtm

@adriananeci adriananeci merged commit 4b56a9a into main Dec 21, 2022
@adriananeci adriananeci deleted the fix_mterics branch April 5, 2023 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Try to evict pods that are handled by custom controllers
3 participants