hashicorp / nomad-driver-virt

Mozilla Public License 2.0
8 stars 1 forks source link

net: add teardown spec to task state for task recovery. #49

Closed jrasell closed 1 month ago

jrasell commented 1 month ago

Adding the teardown spec to the task state for persistence via the client allows recovering a tasks network subsystem correctly in the event of a latter destroy. Without this, the network controller would need to regenerate the assumed iptables rules, which could be wrong due to changes between failure and recovery.