open-nomad/scheduler
Mahmood Ali 0c2551270a oversubscription: Add MemoryMaxMB to internal structs
Start tracking a new MemoryMaxMB field that represents the maximum memory a task
may use in the client. This allows tasks to specify a memory reservation (to be
used by scheduler when placing the task) but use excess memory used on the
client if the client has any.

This commit adds the server tracking for the value, and ensures that allocations
AllocatedResource fields include the value.
2021-03-30 16:55:58 -04:00
..
annotate.go scheduler: label loops with nested switch statements for effective break (#8528) 2020-07-24 08:50:41 -04:00
annotate_test.go Deprecate IOPS 2018-12-06 15:09:26 -08:00
context.go scheduler: fix panic when preempting and evicting 2019-12-02 20:22:22 -08:00
context_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
device.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
device_test.go Change types of weights on spread/affinity 2019-01-30 12:20:38 -08:00
feasible.go CSI: unique volume per allocation 2021-03-18 15:35:11 -04:00
feasible_test.go CSI: unique volume per allocation 2021-03-18 15:35:11 -04:00
generic_sched.go CSI: unique volume per allocation 2021-03-18 15:35:11 -04:00
generic_sched_test.go oversubscription: Add MemoryMaxMB to internal structs 2021-03-30 16:55:58 -04:00
preemption.go Only preempt for network when there is a network 2019-06-07 18:55:55 -04:00
preemption_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
propertyset.go server 2018-09-15 16:23:13 -07:00
rank.go oversubscription: Add MemoryMaxMB to internal structs 2021-03-30 16:55:58 -04:00
rank_test.go scheduler: implement scheduling of reserved cores 2021-03-19 00:29:07 -04:00
reconcile.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
reconcile_test.go add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
reconcile_util.go Only ignore rescheduled allocations if they got stopped 2020-09-14 21:11:52 -04:00
reconcile_util_test.go Fix linting 2018-03-28 12:26:28 -05:00
scheduler.go CSI: remove prefix matching from CSIVolumeByID and fix CLI prefix matching (#10158) 2021-03-18 14:32:40 -04:00
scheduler_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
select.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
select_test.go Implement affinity support in generic scheduler 2018-09-04 16:10:11 -05:00
spread.go More error->debug for logging in the bin packing iterator 2019-12-12 15:50:16 -06:00
spread_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
stack.go CSI: unique volume per allocation 2021-03-18 15:35:11 -04:00
stack_not_ent.go sync 2017-10-13 14:36:02 -07:00
stack_test.go CSI: unique volume per allocation 2021-03-18 15:35:11 -04:00
system_sched.go CSI: unique volume per allocation 2021-03-18 15:35:11 -04:00
system_sched_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
testing.go writetxn can return error, add alloc and job generic events. Add events 2020-10-14 12:44:39 -04:00
util.go oversubscription: Add MemoryMaxMB to internal structs 2021-03-30 16:55:58 -04:00
util_test.go scheduler: detect job change in cores resource 2021-03-19 22:25:50 -04:00