Skip to content

Comments

Add tools for working with Nomad API#39

Open
dylanlee wants to merge 2 commits intomainfrom
nomad-tools
Open

Add tools for working with Nomad API#39
dylanlee wants to merge 2 commits intomainfrom
nomad-tools

Conversation

@dylanlee
Copy link
Contributor

@dylanlee dylanlee commented Aug 28, 2025

Added nomad_memory_monitor.sh and purge_dispatch_jobs.py. The memory monitor clears old evalutaions from the Nomad API's server/s once active memory gets above a certain level. This is necessary to keep the server responsive and functioning. Also added purge _dispatch_jobs.py which allows you to quickly purge jobs after a batch has been run that haven't been garbage collected.

nomad_memory_monitor.sh uses the nomad cli while purge_dispatch_jobs.py uses the nomad api. nomad_memory_monitor.sh could possibly be adapted to use the api but I haven't done the research to verify that the key memory usage fields it relies on can be obtained via the api.

Added nomad_memory_monitor.sh and purge_dispatch_jobs.py. The memory
monitor clears old evalutaions from the Nomad API's server/s once active
memory gets above a certain level. This is necessary to keep the server
responsive and functioning. Also added purge _dispatch_jobs.py which
allows you to quickly purge jobs after a batch has been run that haven't
been garbage collected
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.

1 participant