HubSpot / Singularity

Scheduler (HTTP API and webapp) for running Mesos tasks—long running processes, one-off tasks, and scheduled jobs. #hubspot-open-source
http://getsingularity.com/
Apache License 2.0
823 stars 188 forks source link

PriorityFreeze in Singularity deploy/request #2294

Closed yuriy-filatov closed 2 years ago

yuriy-filatov commented 2 years ago

Hey We're currently looking into adding priorotyFreeze into our pipeline, but struggle to find the proper key and wrapping for our request. Can you please share the knowledge -- how to add the priority level to the deployment yaml? Thanks.

ssalinas commented 2 years ago

priority is a request level setting. taskPriorityLevel field on the request json (not deploy json). Then in Singulairty UI you can freeze launches of all tasks below priority level X if you need to. It also influences scheduling order with higher priorities coming first