contiv / netplugin

Container networking for various use cases
Apache License 2.0
514 stars 177 forks source link

Contiv not distributing networks in BGP #1130

Open mrifai opened 6 years ago

mrifai commented 6 years ago

Hello,

I am trying to configure L3 BGP routing on contiv in kubernetes in order to enable access to the pods from outside of kubernetes ( e.g. from baremetal or across distant networks). I followed the instructions given in: http://contiv.github.io/documents/networking/bgp.html I managed to establish a BGP session between the netplugin and the Top of Rack Juniper Switch, however even when I create networks using netctl they are not announced to Juniper switch. Thus I cannot access my pods from the outside. Any ideas why BGP on contiv is not announcing any path?

I am using Contiv 1.1.7 with kubernetes 1.9.3 , and have enabled routing on contiv.

Topology Simple Example:

---------- --------- ----------- Juniper Client1 <-----> BGP <---------> K8 node
---------- --------- -----------