[kata-dev] Networking between containers in qemu processes

Whaley, Graham graham.whaley at intel.com
Wed Nov 20 16:18:34 UTC 2019


I won’t have the answers, but some questions to help clarify…

Q1. Are these all kata-container VMs

Q2. Are you using some standard container networking infra, like CNI, to link them together?

Afaik, kata should ‘just work’ if sat under a CNI setup.

Kata has a number of ways it can discover/config/integrate with the networking passed in from the higher levels – iirc, we default to using ‘tcfilter’ at the moment. Have a look in the config file for some more info.
https://github.com/kata-containers/runtime/blob/master/cli/config/configuration-qemu.toml.in#L378

bottom line is I think, if the higher level orchestration has set up the networking correctly as it would for say ‘runc’, then kata should pick that up and translate/re-configure it into the VM and host side so it works ‘seamlessly’.

Graham

From: Al Lau [mailto:lauatic at gmail.com]
Sent: Wednesday, November 20, 2019 3:27 PM
To: kata-dev at lists.katacontainers.io
Subject: [kata-dev] Networking between containers in qemu processes

Hi,
I'm looking for information on how to set up communication between containers running within virtual machines.  On a host, there are multiple VMs with containers and set up networking between the containers in different VMs.

Thanks,
Al
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.katacontainers.io/pipermail/kata-dev/attachments/20191120/cd3e5c0c/attachment-0001.html>


More information about the kata-dev mailing list