open-nomad/scheduler
Tim Gross fbaf4c8b69
node pools: implement support in scheduler (#17443)
Implement scheduler support for node pool:

* When a scheduler is invoked, we get a set of the ready nodes in the DCs that
  are allowed for that job. Extend the filter to include the node pool.
* Ensure that changes to a job's node pool are picked up as destructive
  allocation updates.
* Add `NodesInPool` as a metric to all reporting done by the scheduler.
* Add the node-in-pool the filter to the `Node.Register` RPC so that we don't
  generate spurious evals for nodes in the wrong pool.
2023-06-07 10:39:03 -04:00
..
benchmarks api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
annotate.go logs: fix missing allocation logs after update to Nomad 1.5.4 (#17087) 2023-05-04 16:01:18 -04:00
annotate_test.go logs: fix missing allocation logs after update to Nomad 1.5.4 (#17087) 2023-05-04 16:01:18 -04:00
context.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
context_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
device.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
device_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
feasible.go [scheduler] Honor `false` for distinct hosts constraint (#16907) 2023-04-17 17:43:56 -04:00
feasible_test.go [scheduler] Honor `false` for distinct hosts constraint (#16907) 2023-04-17 17:43:56 -04:00
generic_sched.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
generic_sched_test.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
preemption.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
preemption_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
propertyset.go scheduler: count implicit spread targets as a single target (#17195) 2023-05-17 10:25:00 -04:00
rank.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
rank_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_util.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
reconcile_util_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scheduler.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
scheduler_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scheduler_sysbatch_test.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
scheduler_system.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
scheduler_system_test.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
select.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
select_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
spread.go scheduler: count implicit spread targets as a single target (#17195) 2023-05-17 10:25:00 -04:00
spread_test.go scheduler: count implicit spread targets as a single target (#17195) 2023-05-17 10:25:00 -04:00
stack.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
stack_oss.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
stack_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_util.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_util_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
testing.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
util.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
util_test.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00