[caasp-beta] caas v2 networking

Jerry Hwang special011 at gmail.com
Fri Jan 12 10:29:55 MST 2018


Hello,

Does SUSE have a plan/consideration about kube-router project (
https://github.com/cloudnativelabs/kube-router) vs. CNI vs. flannel?

Thanks,
Jerry

On Wed, Dec 20, 2017 at 1:52 PM, Jerry Hwang <special011 at gmail.com> wrote:

> Nice, thanks Alvaro for the clarification.
>
> Jerry
>
> On Wed, Dec 20, 2017 at 1:38 PM, Alvaro Saurin <alvaro.saurin at suse.com>
> wrote:
>
>>
>>
>> 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.
>>
>> Cheers
>>
>>
>> Alvaro
>>
>>
>>
>>
>> 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>
>> 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
>>> http://lists.suse.com/mailman/listinfo/caasp-beta
>>>
>>
>>
>>
>> _______________________________________________
>> caasp-beta mailing listcaasp-beta at lists.suse.comhttp://lists.suse.com/mailman/listinfo/caasp-beta
>>
>>
>> --
>> Alvaro Saurin <alvaro.saurin at suse.com> <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 <+49%20911%207417755>; 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/20180112/27b26fdd/attachment.htm>


More information about the caasp-beta mailing list