[caasp-beta] caas v2 networking

Alvaro Saurin alvaro.saurin at suse.com
Wed Dec 20 14:38:41 MST 2017

When a pod is configured with "hostNetwork: true", the applications
running in such a pod can directly see the network interfaces of the
host machine where the pod was started. From the networking point of
view, it will behave as any other application running in the host. And,
even if flannel is still running in the host, the pod will not be
automatically connected to that overlay network but use the native
routing mechanism.



On 12/20/2017 09:05 PM, Jerry Hwang wrote:
> Thanks Flavio.
> So SUSE CaaS v2 networking is flannel (overlay).
> Regardless I set "hostNetwork: True" for Pod, the inter-nodes traffic
> will be still encapsulated in udp backend?
> Any consideration for non-overlay networking solution for v3+?
> Jerry
> On Wed, Dec 20, 2017 at 1:26 AM, Flavio Castelli <fcastelli at suse.com
> <mailto:fcastelli at suse.com>> wrote:
>     On 12/11/2017 05:13 AM, Jerry Hwang wrote:
>     > I have a general question.
>     > CaaS v2 networking is flannel overlay networking using udp
>     encapsulation
>     > for traffic between nodes.
>     > If my app is based on docker "host" networking (net=host), how
>     to make
>     > the app migration from docker to caas/kubernetes env possible?
>     You can still tell kubernetes to create a pod that uses the host
>     network:
>     kind: Pod
>     spec:
>       hostNetwork: True
>     ...
>     However please evaluate whether that makes still sense in the
>     kubernetes
>     context.
>     Cheers
>     Flavio
>     _______________________________________________
>     caasp-beta mailing list
>     caasp-beta at lists.suse.com <mailto:caasp-beta at lists.suse.com>
>     http://lists.suse.com/mailman/listinfo/caasp-beta
>     <http://lists.suse.com/mailman/listinfo/caasp-beta>
> _______________________________________________
> caasp-beta mailing list
> caasp-beta at lists.suse.com
> http://lists.suse.com/mailman/listinfo/caasp-beta

Alvaro Saurin <alvaro.saurin at suse.com>
Senior Software Engineer
SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg Tel: +49-911-74053-0; Fax: +49-911-7417755; https://www.suse.com/
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20171220/ed0869f0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://lists.suse.com/pipermail/caasp-beta/attachments/20171220/ed0869f0/attachment.sig>

More information about the caasp-beta mailing list