open-nomad/client/dynamicplugins
Tim Gross 5a0bcd39d1 csi: dynamically update plugin registration (#7386)
Allow for faster updates to plugin status when allocations become
terminal by listening for register/deregister events from the dynamic
plugin registry (which in turn are triggered by the plugin supervisor
hook).

The deregistration function closures that we pass up to the CSI plugin
manager don't properly close over the name and type of the
registration, causing monolith-type plugins to deregister only one of
their two plugins on alloc shutdown. Rebind plugin supervisor 
deregistration targets to fix that.

Includes log message and comment improvements
2020-03-23 13:59:25 -04:00
..
registry.go csi: add dynamicplugins registry to client state store (#7330) 2020-03-23 13:58:30 -04:00
registry_test.go csi: dynamically update plugin registration (#7386) 2020-03-23 13:59:25 -04:00