open-nomad/nomad/structs
Seth Hoenig d359eb6f3a consul/connect: use additional constraints in scheduling connect tasks
This PR adds two additional constraints on Connect sidecar and gateway tasks,
making sure Nomad schedules them only onto nodes where Connect is actually
enabled on the Consul agent.

Consul requires `connect.enabled = true` and `ports.grpc = <number>` to be
explicitly set on agent configuration before Connect APIs will work. Until
now, Nomad would only validate a minimum version of Consul, which would cause
confusion for users who try to run Connect tasks on nodes where Consul is not
yet sufficiently configured. These contstraints prevent job scheduling on nodes
where Connect is not actually use-able.

Closes #10700
2021-06-03 15:43:34 -05:00
..
config Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
batch_future.go
batch_future_test.go
bitmap.go
bitmap_test.go
connect.go e2e: consul namespace tests from nomad ent 2021-04-19 15:35:31 -06:00
consul.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
consul_oss.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
consul_oss_test.go e2e: consul namespace tests from nomad ent 2021-04-19 15:35:31 -06:00
consul_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
csi.go CSI: capability block is required for volume registration 2021-04-08 13:02:24 -04:00
csi_test.go CSI: use AccessMode/AttachmentMode from CSIVolumeClaim 2021-04-07 11:24:09 -04:00
devices.go
devices_test.go
diff.go nomad/structs: fix diff 2021-04-09 08:21:46 -04:00
diff_test.go Support disabling TCP checks for connect sidecar services 2021-05-07 12:10:26 -04:00
encoding.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
errors.go csi: client RPCs should return wrapped errors for checking (#8605) 2020-08-07 11:01:36 -04:00
errors_test.go api: acl bootstrap errors aren't 500 2019-11-19 15:51:57 -05:00
event.go Events/acl events (#9595) 2020-12-11 10:40:50 -05:00
extensions.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
funcs.go Merge pull request #10203 from hashicorp/f-cpu-cores 2021-03-29 14:05:54 -04:00
funcs_test.go oversubscription: Add MemoryMaxMB to internal structs 2021-03-30 16:55:58 -04:00
generate.sh When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
handlers.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
network.go Apply some suggested fixes from staticcheck (#9598) 2020-12-10 07:29:18 -08:00
network_test.go test: fix up testing around host networks 2020-06-19 13:53:31 -04:00
node.go CSI: fingerprint detailed node capabilities 2021-04-01 16:00:58 -04:00
node_class.go use allow/deny instead of the colored alternatives (#9019) 2020-10-12 08:47:05 -04:00
node_class_test.go
node_test.go
operator.go Allow configuring memory oversubscription (#10466) 2021-04-29 22:09:56 -04:00
search.go api: implement fuzzy search API 2021-04-16 16:36:07 -06:00
service_identities.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
services.go Support disabling TCP checks for connect sidecar services 2021-05-07 12:10:26 -04:00
services_test.go consul/connect: fix bug where ingress gateways could not use wildcard services 2021-04-27 13:42:26 -06:00
streaming_rpc.go Fix some errcheck errors (#9811) 2021-01-14 12:46:35 -08:00
structs.go consul/connect: use additional constraints in scheduling connect tasks 2021-06-03 15:43:34 -05:00
structs_codegen.go
structs_oss.go added new policy capabilities for recommendations API 2020-10-28 14:32:16 +00:00
structs_periodic_test.go tests for periodic job scheduling and DST 2020-05-07 17:36:59 -04:00
structs_test.go csi: validate volume block has attachment_mode and access_mode 2021-06-03 16:07:19 -04:00
testing.go testing: default nomad test nodes to 1.0.0 (#10213) 2021-03-23 08:24:26 -04:00
volumes.go csi: validate volume block has attachment_mode and access_mode 2021-06-03 16:07:19 -04:00