15 Commits

Author SHA1 Message Date
Andrew Sy Kim
7496b00ddd dont shutdown gobgp server if graceful restart is enabled (#526) 2018-08-31 16:49:24 +05:30
Murali Reddy
01ec8837fa
prevent IPIP tunnel creation when --override-nexthop=ture (#518) 2018-08-15 23:03:22 +05:30
Johan Thomsen
1db83adfb9 Added support for custom BGP ports with 179 still being default (#492) (#493)
* Introduced new cmdline flag --bgp-port, which controls BGP Server listening port and remote port of in-cluster node peers

    * Introduced new cmdline flag --peer-router-ports, which controls remote BGP port for external peers

    * Introduced new node annotation kube-router.io/peer.ports with same effect as --peer-router-ports
2018-08-15 22:59:47 +05:30
Murali Reddy
86ba7840a6
Introduces the option --override-nexthop, to override the next hop used in advertised routes (#502)
* Introduces the option --override-nexthop, setting it to true will make
advertised next hop for the routers to the peers will be automatically
selected to be appropriate reachable local IP. This will be overrider
any next-hop set for the routes in the RIB. Kube-router by defauly set
the next-hop to `node IP` which is not correct in case of nodes with
multiple interfaces and use differnt interaces for differect external
peers.

Fixes #480

* add next-hop-self documentation
2018-08-13 20:12:55 +05:30
Murali Reddy
624c74f865
issue-385: make it optional on which ip address BGP server listens (#473)
* introduces per node anntation kube-router.io/bgp-local-addresses to configure IP address on which BGP server should lister

* docs
2018-08-13 17:47:23 +05:30
Emil Stolarsky
82410c14d0 Add support for BGP path prepending through node annotations (#476) 2018-07-11 06:48:21 -04:00
Murali Reddy
327a46d5ba
fix race condition issues with health checks (#460)
* fix race condition issues with health checks

* better log meesage when skipping heartbeat
2018-06-07 17:29:19 +05:30
Murali Reddy
5c6a24d4d6
Fix NPE when performing cleanup() (#458)
* Fix NPE when performing cleanup()

* update cleanup documentaion
2018-06-05 01:05:34 +07:00
Andrew Sy Kim
1c7866cd91 Allow CNI plugin to be disabled (#443) 2018-06-04 19:17:22 +07:00
Murali Reddy
6887ce716e
add proper message when reading pod CIDR from cni conf file (#450) 2018-05-26 02:52:28 +05:30
Rahul Menon
8aa4324211 adds explicit check for existing tunnel to avoid partial matches (#442) 2018-05-16 21:27:23 +05:30
Murali Reddy
359ab1d9a1
explicilty specify source IP to use when send traffic over tunnels (#428) 2018-05-11 03:32:24 +05:30
Murali Reddy
41332a18b9
Ability to enable/disable node advertising its pod CIDR to external BGP peers (#408)
* Node should advertise its pod CIDR to external BGP peers only if
--advertise-node-pod-cidr is set to true (defaults to true).
This is to enable a case where pod's remain non-routable from out of the
cluster but service VIP's can be routable from out side the cluster.

* fix unit test

* address review comments
2018-04-23 18:32:59 +00:00
Murali Reddy
23d43622ec
split routing controllers to smaller modules by function (#406)
* split routing controllers to smaller modules by function

* review comments
2018-04-23 05:42:28 +00:00
Murali Reddy
05bec8b385
break controller package to independent packages (#405) 2018-04-22 13:25:58 +00:00