open-nomad/nomad/structs
Luiz Aoqui bc17cffaef
node pool: node pool upsert on multiregion node register (#17503)
When registering a node with a new node pool in a non-authoritative
region we can't create the node pool because this new pool will not be
replicated to other regions.

This commit modifies the node registration logic to only allow automatic
node pool creation in the authoritative region.

In non-authoritative regions, the client is registered, but the node
pool is not created. The client is kept in the `initialing` status until
its node pool is created in the authoritative region and replicated to
the client's region.
2023-06-13 11:28:28 -04:00
..
config compliance: add headers with fixed copywrite tool (#17353) 2023-05-30 09:20:32 -05:00
acl.go
acl_test.go
alloc.go
alloc_test.go
autopilot.go
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
check_test.go
checks.go
connect.go
connect_test.go
consul.go
consul_oss.go
consul_oss_test.go
consul_test.go
csi.go
csi_test.go
devices.go
devices_test.go
diff.go
diff_test.go check: Add support for Consul field tls_server_name (#17334) 2023-06-02 10:19:12 -04:00
encoding.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
errors.go
errors_test.go
eval.go
event.go node pools: add event stream support (#17412) 2023-06-06 10:14:47 -04:00
extensions.go
funcs.go
funcs_test.go
generate.sh Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
handlers.go Revert "hashicorp/go-msgpack v2 (#16810)" (#17047) 2023-05-01 17:18:34 -04:00
job.go
job_test.go
keyring.go
network.go
network_test.go
node.go
node_class.go node pools: register a node in a node pool (#17405) 2023-06-02 17:50:50 -04:00
node_class_test.go node pools: register a node in a node pool (#17405) 2023-06-02 17:50:50 -04:00
node_pool.go node pools: replicate from authoritative region (#17456) 2023-06-12 13:24:24 -04:00
node_pool_test.go node pool: initial base work (#17163) 2023-05-15 10:49:08 -04:00
node_test.go
operator.go
search.go node pool: add search support (#17385) 2023-06-01 17:48:14 -04:00
service_identities.go
service_registration.go
service_registration_test.go
services.go check: Add support for Consul field tls_server_name (#17334) 2023-06-02 10:19:12 -04:00
services_test.go check: Add support for Consul field tls_server_name (#17334) 2023-06-02 10:19:12 -04:00
streaming_rpc.go
structs.go node pool: node pool upsert on multiregion node register (#17503) 2023-06-13 11:28:28 -04:00
structs_codegen.go
structs_oss.go
structs_periodic_test.go
structs_test.go core: refactor task validation (#17344) 2023-06-01 19:26:42 -04:00
testing.go
uuid.go
variables.go variable: fixup metadata copy comment and remove unrequired type. (#17234) 2023-05-18 13:49:41 +01:00
variables_test.go
vault.go
volume_test.go
volumes.go
workload_id.go
workload_id_test.go