open-nomad/scheduler
Lang Martin 3621df1dbf csi: volume ids are only unique per namespace (#7358)
* nomad/state/schema: use the namespace compound index

* scheduler/scheduler: CSIVolumeByID interface signature namespace

* scheduler/stack: SetJob on CSIVolumeChecker to capture namespace

* scheduler/feasible: pass the captured namespace to CSIVolumeByID

* nomad/state/state_store: use namespace in csi_volume index

* nomad/fsm: pass namespace to CSIVolumeDeregister & Claim

* nomad/core_sched: pass the namespace in volumeClaimReap

* nomad/node_endpoint_test: namespaces in Claim testing

* nomad/csi_endpoint: pass RequestNamespace to state.*

* nomad/csi_endpoint_test: appropriately failed test

* command/alloc_status_test: appropriately failed test

* node_endpoint_test: avoid notTheNamespace for the job

* scheduler/feasible_test: call SetJob to capture the namespace

* nomad/csi_endpoint: ACL check the req namespace, query by namespace

* nomad/state/state_store: remove deregister namespace check

* nomad/state/state_store: remove unused CSIVolumes

* scheduler/feasible: CSIVolumeChecker SetJob -> SetNamespace

* nomad/csi_endpoint: ACL check

* nomad/state/state_store_test: remove call to state.CSIVolumes

* nomad/core_sched_test: job namespace match so claim gc works
2020-03-23 13:59:25 -04:00
..
annotate.go Show canaries on plan 2017-07-07 12:03:11 -07: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 scheduler: update tests with modern error helper 2019-12-02 20:25:52 -08: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: volume ids are only unique per namespace (#7358) 2020-03-23 13:59:25 -04:00
feasible_test.go csi: volume ids are only unique per namespace (#7358) 2020-03-23 13:59:25 -04:00
generic_sched.go update scheduler to account for hooks 2020-03-21 17:52:45 -04:00
generic_sched_oss.go include pro tag in serveral oss.go files 2020-02-10 15:56:14 -05:00
generic_sched_test.go fix bug in lifecycle scheduler test mocks 2020-03-21 17:52:51 -04:00
preemption.go Only preempt for network when there is a network 2019-06-07 18:55:55 -04:00
preemption_test.go Scheduler changes to support network at task group level 2019-07-31 01:04:08 -04:00
propertyset.go server 2018-09-15 16:23:13 -07:00
rank.go update scheduler to account for hooks 2020-03-21 17:52:45 -04:00
rank_test.go scheduler: update tests with modern error helper 2019-12-02 20:25:52 -08:00
reconcile.go add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07: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 Stop allocs to be rescheduled 2019-06-06 17:27:12 -04:00
reconcile_util_test.go Fix linting 2018-03-28 12:26:28 -05:00
scheduler.go csi: volume ids are only unique per namespace (#7358) 2020-03-23 13:59:25 -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 Fix comment and assert score in test case 2019-05-15 12:35:57 -05:00
stack.go csi: volume ids are only unique per namespace (#7358) 2020-03-23 13:59:25 -04:00
stack_not_ent.go sync 2017-10-13 14:36:02 -07:00
stack_oss.go CSI: Scheduler knows about CSI constraints and availability (#6995) 2020-03-23 13:58:29 -04:00
stack_test.go csi: fix index maintenance for CSIVolume and CSIPlugin tables (#7049) 2020-03-23 13:58:29 -04:00
system_sched.go update scheduler to account for hooks 2020-03-21 17:52:45 -04:00
system_sched_test.go make diffSystemAllocsForNode aware of eligibility 2020-02-03 09:02:08 -05:00
testing.go Add comments to functions, and use require instead of assert 2019-04-23 09:57:21 -07:00
util.go update scheduler to account for hooks 2020-03-21 17:52:45 -04:00
util_test.go add test for node eligibility 2020-02-03 09:02:09 -05:00