2854298089
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. |
||
---|---|---|
.. | ||
interfaces.go | ||
interfaces_test.go | ||
volume_watcher.go | ||
volume_watcher_test.go | ||
volumes_watcher.go | ||
volumes_watcher_test.go |