validate_workload: detect OOMKilled and excessive#1241
Open
xinWeiWei24 wants to merge 1 commit into
Open
Conversation
xinWeiWei24
requested review from
liyu-ma,
vittoriasalim and
wonderyl
as code owners
July 3, 2026 02:20
| # resource status, then scans the full container logs of its pods for error | ||
| # patterns. Requires kubectl on the agent and a kubeconfig already in place | ||
| # (e.g. via GetCredentials). | ||
| # resource status, then inspects each pod's live status for OOMKilled |
Collaborator
There was a problem hiding this comment.
I am thinking if it is a good idea to do this in prometheus with kube_pod_container_status_restarts_total metric Leonard had a PR for prometheus extension https://github.com/Azure/telescope/pull/1237/changes#diff-62ff5b9ce16ceffb2a778a23f876e84ed90e3970c4d2bedc177fb6bc417e89ed , will this still fit your use case?
Collaborator
Author
There was a problem hiding this comment.
Thanks for the suggestion. I’d prefer to keep this test lightweight and avoid adding Prometheus or other extra load. I’m looking for a simpler validation method.
vittoriasalim
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.