open-nomad/api
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
..
contexts node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
internal/testutil [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
acl.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
acl_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
agent_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
allocations.go node pools: implement support in scheduler (#17443) 2023-06-07 10:39:03 -04:00
allocations_exec.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
allocations_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
api.go [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
api_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
compose_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
constraint.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
constraint_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
consul_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
csi.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
csi_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
deployments.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
error_unexpected_response.go compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
error_unexpected_response_test.go compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
evaluations.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
evaluations_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
event_stream.go node pools: add event stream support (#17412) 2023-06-06 10:14:47 -04:00
event_stream_test.go node pools: add event stream support (#17412) 2023-06-06 10:14:47 -04:00
fs.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
fs_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
go.mod [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
go.sum [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
ioutil.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
ioutil_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
jobs.go node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
jobs_test.go node pools: add node_pool field to job spec (#17379) 2023-06-01 16:08:55 -04:00
keyring.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
keyring_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
namespace_test.go [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
node_meta.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_meta_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
node_pools.go node pool: implement nomad node pool nodes CLI (#17444) 2023-06-07 10:37:27 -04:00
node_pools_test.go node pools: implement CLI (#17388) 2023-06-02 15:49:57 -04:00
nodes.go node pools: register a node in a node pool (#17405) 2023-06-02 17:50:50 -04:00
nodes_test.go node pools: register a node in a node pool (#17405) 2023-06-02 17:50:50 -04:00
operator.go [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
operator_autopilot.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_ent_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_metrics.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_metrics_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
operator_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
quota_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
raw.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
recommendations.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
regions.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
regions_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
resources.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
resources_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
scaling_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
search.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
search_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
sentinel_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
services.go check: Add support for Consul field tls_server_name (#17334) 2023-06-02 10:19:12 -04:00
services_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
status.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
status_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
system_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
tasks.go logs: fix missing allocation logs after update to Nomad 1.5.4 (#17087) 2023-05-04 16:01:18 -04:00
tasks_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
util_test.go api: enable support for setting original job source (#16763) 2023-04-11 08:45:08 -05:00
utils.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
utils_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00
variables.go [api] Return a shapely error for unexpected response (#16743) 2023-05-22 11:45:31 -04:00
variables_test.go [COMPLIANCE] Add Copyright and License Headers 2023-04-10 15:36:59 +00:00