open-nomad/scheduler
Drew Bailey c87adfac62
persist shared ports during inplace updates (#9736)
AllocatedSharedResources were not being copied over to the new
allocation struct the scheduler makes during inplace updates. This
caused downstream issues after the plan was applied, namely the shared
ports were dropped causing issues with service
registration/deregistration.

test that shared ports are preserved

change log, also carry over shared network

copy networks
2021-01-08 09:00:41 -05: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
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
device_test.go
feasible.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
feasible_test.go scheduler: enable upgrade path for bridge network finger print 2020-11-13 14:17:01 -06:00
generic_sched.go Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
generic_sched_test.go scheduler: Fix always-false sort func (#9547) 2020-12-08 09:57:47 -08:00
preemption.go
preemption_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
propertyset.go
rank.go Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
rank_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -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
scheduler.go Respect alloc job version for lost/failed allocs 2020-08-19 09:52:48 -04:00
scheduler_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
select.go
select_test.go
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 Respect alloc job version for lost/failed allocs 2020-08-19 09:52:48 -04:00
stack_not_ent.go
stack_test.go Events/msgtype cleanup (#9117) 2020-10-19 09:30:15 -04:00
system_sched.go api: add field filters to /v1/{allocations,nodes} 2020-10-14 10:35:22 -07: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 persist shared ports during inplace updates (#9736) 2021-01-08 09:00:41 -05:00
util_test.go persist shared ports during inplace updates (#9736) 2021-01-08 09:00:41 -05:00