endocrimes / nomad-plugin-firecracker

WIP
6 stars 1 forks source link

placeholder - Networking #3

Open endocrimes opened 5 years ago

endocrimes commented 5 years ago

Need to figure out how I want to support networking... this issue is a reminder to self that I need to figure it out.

plasticine commented 5 years ago

Would it be reasonable to just provision tap devices on the host dynamically if networking is enabled and then pass in the info via metadata for the guest to consume? Is that even a thing? 🤔

endocrimes commented 5 years ago

@plasticine Yeah that would be reasonable enough to start with I think

plasticine commented 5 years ago

kata do some pretty awesome stuff here already that seems pretty legit — https://github.com/kata-containers/runtime/blob/master/virtcontainers/tap_endpoint.go Just realised I’m going to need networking sorted out for mmds stuff anyway so I might take a look at this first!

eveld commented 5 years ago

Will this allow inter-communication between firecracker VM's? or just host <-> VM?

plasticine commented 5 years ago

@eveld Only host <--> VM, in general firecracker leaves networking up to the user, so if you wanted more complex scenarios you’d need to configure that yourself I think?