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

Feature request: OOM or cpu limit events #44

Closed
danielmotaleite opened this issue Oct 30, 2020 · 2 comments
Closed

Feature request: OOM or cpu limit events #44

danielmotaleite opened this issue Oct 30, 2020 · 2 comments

Comments

@danielmotaleite
Copy link

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature

I think it is a feature, but don't even know if it is possible :)

What happened:
My K8s setup was having a Pod OOM and another with a CPU limit. I was expecting that the k8s event showed those events, but all i could see was the healtcheck failure.

What you expected to happen:
Some k8s event for when the pod limits are trigger

How to reproduce it (as minimally and precisely as possible):
Set a pod with low memory and cpu limit and start it up

Anything else we need to know?:
i'm currently in k8s 1.15

@lichuan0620
Copy link
Contributor

event_exporter exports the k8s Events as they were; it doesn't alter them or creates new Events. You could implement those Events on your own (I won't go into this topic as it could be quite an essay), and event_exporter should be able to pick them up.

If you were able to see those Events but don't see event_exporter exposing the metrics, feel free to create a bug issue

@danielmotaleite
Copy link
Author

So it is really a k8s limitation, the event isn't simply there! roger that! closing this then

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

No branches or pull requests

2 participants