open-nomad/client/allocrunner
Charlie Voiselle 4caac1a92f
client: Add option to enable hairpinMode on Nomad bridge (#15961)
* Add `bridge_network_hairpin_mode` client config setting
* Add node attribute: `nomad.bridge.hairpin_mode`
* Changed format string to use `%q` to escape user provided data
* Add test to validate template JSON for developer safety

Co-authored-by: Daniel Bennett <dbennett@hashicorp.com>
2023-02-02 10:12:15 -05:00
..
interfaces Allow per_alloc to be used with host volumes (#15780) 2023-01-26 09:14:47 -05:00
state chore: fixup inconsistent method receiver names. (#11704) 2021-12-20 11:44:21 +01:00
tasklifecycle test: remove flaky Gate test (#14575) 2022-09-19 11:31:03 -04:00
taskrunner renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
alloc_runner.go client: always run alloc cleanup hooks on final update (#15855) 2023-01-27 09:59:31 -06:00
alloc_runner_hooks.go client: always run alloc cleanup hooks on final update (#15855) 2023-01-27 09:59:31 -06:00
alloc_runner_test.go client: Add option to enable hairpinMode on Nomad bridge (#15961) 2023-02-02 10:12:15 -05:00
alloc_runner_unix_test.go client: always run alloc cleanup hooks on final update (#15855) 2023-01-27 09:59:31 -06:00
allocdir_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
cgroup_hook.go client/ar: thread through cpuset manager 2021-04-13 13:28:36 -04:00
checks_hook.go client: updates from pr feedback 2022-07-21 09:54:27 -05:00
checks_hook_test.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
config.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
consul_grpc_sock_hook.go renamed stanza to block for consistency with other projects (#15941) 2023-01-30 15:48:43 +01:00
consul_grpc_sock_hook_test.go client: accommodate Consul 1.14.0 gRPC and agent self changes. (#15309) 2022-11-21 09:19:09 -06:00
consul_http_sock_hook.go cleanup: purge github.com/pkg/errors 2022-04-01 19:24:02 -05:00
consul_http_sock_hook_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
csi_hook.go csi_hook: valid if any driver supports csi (#13446) 2022-06-22 10:43:43 -04:00
csi_hook_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
group_service_hook.go nsd: block on removal of services (#15862) 2023-01-26 08:17:57 -06:00
group_service_hook_test.go cleanup: replace TypeToPtr helper methods with pointer.Of (#14151) 2022-08-17 18:26:34 +02:00
health_hook.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
health_hook_test.go client: add support for checks in nomad services 2022-07-12 17:09:50 -05:00
migrate_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
network_hook.go allow configuration of Docker hostnames in bridge mode (#11173) 2021-09-16 08:13:09 +02:00
network_hook_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
network_manager_linux.go client: Add option to enable hairpinMode on Nomad bridge (#15961) 2023-02-02 10:12:15 -05:00
network_manager_linux_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
network_manager_nonlinux.go gofmt all the files 2021-10-01 10:14:28 -04:00
networking.go ar: isolate network actions performed by client 2021-02-02 23:24:57 -05:00
networking_bridge_linux.go client: Add option to enable hairpinMode on Nomad bridge (#15961) 2023-02-02 10:12:15 -05:00
networking_bridge_linux_test.go client: Add option to enable hairpinMode on Nomad bridge (#15961) 2023-02-02 10:12:15 -05:00
networking_cni.go client: manually cleanup leaked iptables rules (#15407) 2022-11-28 11:32:16 -06:00
networking_cni_test.go client: manually cleanup leaked iptables rules (#15407) 2022-11-28 11:32:16 -06:00
testing.go client: sandbox go-getter subprocess with landlock (#15328) 2022-12-07 16:02:25 -06:00
upstream_allocs_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00