open-nomad/nomad/structs
James Rasell 0e926ef3fd
allow configuration of Docker hostnames in bridge mode (#11173)
Add a new hostname string parameter to the network block which
allows operators to specify the hostname of the network namespace.
Changing this causes a destructive update to the allocation and it
is omitted if empty from API responses. This parameter also supports
interpolation.

In order to have a hostname passed as a configuration param when
creating an allocation network, the CreateNetwork func of the
DriverNetworkManager interface needs to be updated. In order to
minimize the disruption of future changes, rather than add another
string func arg, the function now accepts a request struct along with
the allocID param. The struct has the hostname as a field.

The in-tree implementations of DriverNetworkManager.CreateNetwork
have been modified to account for the function signature change.
In updating for the change, the enhancement of adding hostnames to
network namespaces has also been added to the Docker driver, whilst
the default Linux manager does not current implement it.
2021-09-16 08:13:09 +02:00
..
config chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02: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
connect_test.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
consul.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02: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 chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02: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 consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
diff_test.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
encoding.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
errors.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
errors_test.go
event.go docs: fix typo in structs/event.go 2021-08-21 17:02:07 +05:30
extensions.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
funcs.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
funcs_test.go
generate.sh
handlers.go json handles were moved to a new package in #10202 2021-04-02 13:31:10 +00:00
network.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
network_test.go
node.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
node_class.go
node_class_test.go
node_test.go
operator.go core: implement system batch scheduler 2021-08-03 10:30:47 -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 consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
services_test.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
streaming_rpc.go
structs.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
structs_codegen.go
structs_oss.go
structs_periodic_test.go
structs_test.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
testing.go chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
volumes.go csi: validate volume block has attachment_mode and access_mode 2021-06-03 16:07:19 -04:00