3 ms·
When they say "network stack" they don't mean their own implementations of TCP and UDP like you would for an OS (like linux). They mean the various pieces that
by freedomben 5y ago
When they say "network stack" they don't mean their own implementations of TCP and UDP like you would for an OS (like linux). They mean the various pieces that the container runtime has to implement. See CNI[1] for more information.
[1]: https://www.cni.dev/ https://www.cni.dev/
- SahAssar 5y agoSo it's the "compiler" for a CNI spec into a configuration for a linux network namespace?
- freedomben 5y agoYeah I think that's a reasonable way to think of it. When a container (or Pod) gets created it needs a handful of network stuff setup, from creating the virtual network interfaces, setting up route tables. nftables/iptables rules, assigning an IP address, setting up NAT, configuring container-to-container networking, etc.
- SahAssar 5y agoThanks, that makes sense. I'd prefer it'd be called something else than a "network stack", but that's life.