Nomad scheduling problem

Hello, I’m curious about a question. For example, there are three nomad clients,

A runs 5 jobs, occupying 60%

B has run three jobs, occupying 30%

C runs a job, occupying 10%

Why do I run a new job and it will automatically select b instead of selecting the least C like k8s

Hi @x602,

Nomad uses a bin-packing scheduling algorithm by default which optimizes the resource utilization and density of applications. You can change this between spread and binpack via the update-scheduler-configuration API call.

The scheduling internals documentation has additional information on what can affect allocation placement during the scheduling process.

jrasell and the Nomad team

1 Like