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

Pods shall define their own thresholds #120

Open
JHK opened this issue Jan 14, 2025 · 2 comments
Open

Pods shall define their own thresholds #120

JHK opened this issue Jan 14, 2025 · 2 comments

Comments

@JHK
Copy link
Contributor

JHK commented Jan 14, 2025

Our workloads occasionally encounter an edge case where specific input data causes individual Pods to gradually increase their memory usage. These Pods typically take some time to reach the globally configured memory threshold for the cluster. However, during this time, multiple other Pods can enter a similar state, compounding the issue.

Since this pattern is predictable, we want to evict such Pods early to mitigate the impact. A useful feature would be the ability for these Pods to define their own memory threshold.

One implementation idea is an annotation, such as soft-pod-memory-evicter/eviction-threshold, where the value is specified as a percentage.

@maxlaverse
Copy link
Owner

Sounds good with such an annotation.

@maxlaverse
Copy link
Owner

If you're not in a hurry, I can probably implement this in the next weeks.

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