-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Show max memory limit in the UI #10268
Comments
This is the first step in #10268. If a maximum is not specified, the task group sum uses the memory number instead. The maximum is only shown when it’s higher than the memory sum.
Closed by #10459 |
Oops, sorry! |
I’m leaning toward #10459 being an incorrect implementation, now that I understand this better. Or at least subpar, as I’m not sure how else to accomplish it… When I run a Nomad dev agent without memory oversubscription enabled, I get a warning when submitting a job with a The task group details ribbon checks whether the sum of provided I’ve subsequently understood that the allocation response is a place to determine the true situation vs the configured one. In this screenshot, I have #10508 running against two different dev agents; the left has oversubscription enabled, the right does not. You can see that So… I’m not sure what to do about the task group details ribbon, as it seems incorrect to me to present the configured The allocation metric annotation is correct now, at least, but I’m struggling with accessing |
This is a reversion from #10459, more background here: #10268 (comment)
#10247 introduces the ability to describe memory as both a soft and hard limit. The soft limit (
memory
) tells the scheduler how much memory needs to be set aside, the hard limit (memory_max
) tells Nomad at what point a task should be OOMed.This nuance also needs to be communicated in the UI. There are three pieces to this of varying scope.
Show this metadata in the task group details ribbon
This one is straightforward. Mimic the language and data used in the CLI updates on the task group detail page. The numbers in this ribbon are already an aggregate of individual task requirements.
If a task group has no
memory_max
set, then this ribbon should be unchanged.Show both the soft and hard limit in the memory utilization graph for both allocations and tasks
First and foremost, this can be deferred. If we make no changes to this graph, it will naturally report utilization percentages above 100% and the y-axis will adjust, just like we do with CPU soft limits already. This is still pretty confusing though, since it's unclear if the percentage is based on the soft limit or the hard limit.
We can improve this by doing the following:
If an allocation has no
memory_max
set, this graph should have no annotation.Show oversubscription at a client level on both the client detail page and the topology visualization
There are no designs for this yet. Just wanted to mention it here to track the concept.
The text was updated successfully, but these errors were encountered: