open-nomad/client/allocrunner
Tim Gross 2854298089
csi: release claims via csi_hook postrun unpublish RPC (#8580)
Add a Postrun hook to send the `CSIVolume.Unpublish` RPC to the server. This
may forward client RPCs to the node plugins or to the controller plugins,
depending on whether other allocations on this node have claims on this
volume.

By making clients responsible for running the `CSIVolume.Unpublish` RPC (and
making the RPC available to a `nomad volume detach` command), the
volumewatcher becomes only used by the core GC job and we no longer need
async volume GC from job deregister and node update.
2020-08-06 14:51:46 -04:00
..
interfaces allow only positive shutdown delay 2019-12-16 11:38:30 -05:00
state stale allocation data leads to incorrect (and even negative) metrics (#5637) 2019-05-07 15:54:36 -04:00
taskrunner consul/connect: add support for bridge networks with connect native tasks 2020-07-29 09:26:01 -05:00
alloc_runner.go allocrunner: terminate sidecars in the end 2020-06-29 15:12:15 -04:00
alloc_runner_hooks.go consul/connect: add support for bridge networks with connect native tasks 2020-07-29 09:26:01 -05:00
alloc_runner_test.go allocrunner: terminate sidecars in the end 2020-06-29 15:12:15 -04:00
alloc_runner_unix_test.go tests: restart restartpolicy for all tasks in tests 2020-03-24 21:52:48 -04:00
allocdir_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
config.go client: Pass an RPC Client to AllocRunners 2020-03-23 13:58:30 -04:00
consul_grpc_sock_hook.go consul/connect: fixup some spelling, comments, consts 2020-07-29 09:26:01 -05:00
consul_grpc_sock_hook_test.go consul/connect: add support for bridge networks with connect native tasks 2020-07-29 09:26:01 -05:00
consul_http_sock_hook.go consul/connect: fixup some spelling, comments, consts 2020-07-29 09:26:01 -05:00
consul_http_sock_hook_test.go consul/connect: add support for bridge networks with connect native tasks 2020-07-29 09:26:01 -05:00
csi_hook.go csi: release claims via csi_hook postrun unpublish RPC (#8580) 2020-08-06 14:51:46 -04:00
groupservice_hook.go ensure shutdown delay can be removed 2020-04-06 11:33:04 -04:00
groupservice_hook_test.go ensure shutdown delay can be removed 2020-04-06 11:33:04 -04:00
health_hook.go add default update stanza and max_parallel=0 disables deployments (#6191) 2019-09-02 10:30:09 -07:00
health_hook_test.go health: fail health if any task is pending 2020-03-22 11:13:41 -04:00
migrate_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
network_hook.go driver/networking: don't recreate existing network namespaces 2019-09-25 14:58:17 -04:00
network_hook_test.go driver/networking: don't recreate existing network namespaces 2019-09-25 14:58:17 -04:00
network_manager_linux.go ar: support opting into binding host ports to default network IP (#8321) 2020-07-06 18:51:46 -04:00
network_manager_linux_test.go ar: rearrange network hook to support building on windows 2019-07-31 01:03:19 -04:00
network_manager_nonlinux.go ar: refactor network bridge config to use go-cni lib (#6255) 2019-09-04 16:33:25 -04:00
networking.go ar: refactor network bridge config to use go-cni lib (#6255) 2019-09-04 16:33:25 -04:00
networking_bridge_linux.go ar: support opting into binding host ports to default network IP (#8321) 2020-07-06 18:51:46 -04:00
networking_cni.go ar: support opting into binding host ports to default network IP (#8321) 2020-07-06 18:51:46 -04:00
task_hook_coordinator.go allocrunner: terminate sidecars in the end 2020-06-29 15:12:15 -04:00
task_hook_coordinator_test.go allocrunner: terminate sidecars in the end 2020-06-29 15:12:15 -04:00
testing.go client: enable nomad client to request and set SI tokens for tasks 2020-01-31 19:03:38 -06:00
upstream_allocs_hook.go client: cleanup and document context uses 2019-03-12 15:03:54 -07:00
util.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00