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

Rework current pods query to filter finished ones #133

Merged
merged 1 commit into from
Aug 24, 2023

Conversation

LeaveMyYard
Copy link
Contributor

@LeaveMyYard LeaveMyYard commented Aug 23, 2023

Previous algorithm of finding if the pod is current was not taking into account that it might be running, but in Failed state.

Reworked that for using kube_pod_status_phase metric

@LeaveMyYard LeaveMyYard self-assigned this Aug 23, 2023
@Avi-Robusta Avi-Robusta merged commit 3d0b3bc into main Aug 24, 2023
1 check passed
@Avi-Robusta Avi-Robusta deleted the fillter-failed-pods branch August 24, 2023 06:50
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.

2 participants