443 Commits

Author SHA1 Message Date
Murali Reddy
5155c8da50
Update README.md 2018-01-05 09:43:17 +05:30
barthoda
862b410118 Make kubeadm install docs clearer (#270)
These docs didn't read well and possibly led the user to do a `kubeadm reset`.
2018-01-04 07:38:40 +05:30
Andrew Sy Kim
c07df49f63 unit tests for syncInternalPeers() (#268) 2018-01-03 23:41:06 +05:30
Murali Reddy
0b739e4d41
project status update (#269) 2018-01-03 22:51:57 +05:30
Andrew Sy Kim
50dcc32dd8 Unit Tests for Node Update Events (#265)
* activeNodes should not be a global variable for better testability

* OnNodeUpdate unit tests
v0.1.0-rc1
2018-01-03 11:54:29 +05:30
Andrew Sy Kim
4eca430b63 route controller unit tests (#264) 2017-12-29 08:55:22 +05:30
Andrew Sy Kim
542680c65d skip build/push if user is not cloudnativelabs since it cannot access dockerhub creds (#263) 2017-12-28 00:20:54 +05:30
Andrew Sy Kim
e27847f833 package utils unit tests and CI fixes (#261)
* package utils unit tests

* add tests to travis CI

* make push needs IMG_TAG in docker push command
2017-12-27 23:38:24 +05:30
Murali Reddy
f822109907
Prevent slice representing ipset growing forver resulting in excessive memory usage (#260)
Use refresh instead which internally used ipset swap

Fixes #228
2017-12-25 19:37:02 +05:30
Murali Reddy
94a2ec7e17
Flush conntrack entry when UDP service endpoint is deleted (#259)
Fixes #157

kubernetes/kubernetes#19029
kubernetes/kubernetes#22573
2017-12-25 02:08:04 +05:30
Murali Reddy
8ce5e4fe3d
Fix potential issues in DSR due to Golang limitations in switching network namespaces and add verbose logging (#258)
Fixes #248

https://www.weave.works/blog/linux-namespaces-and-go-don-t-mix
docker/libnetwork#1113
https://groups.google.com/forum/#!topic/golang-dev/6G4rq0DCKfo/discussion
2017-12-24 22:28:36 +05:30
Murali Reddy
1e1f8b4e05
Update README.md 2017-12-24 19:00:41 +05:30
Murali Reddy
d473f83a7b
Update README.md 2017-12-24 15:18:44 +05:30
Murali Reddy
76ea8c01a2
fix TCP vs 6 string comparision in publishMetrics (#257) 2017-12-24 15:08:44 +05:30
Murali Reddy
22f05e99fd
service prometheus metrics (#255) 2017-12-24 11:32:42 +05:30
Murali Reddy
d87644113d
Update README.md 2017-12-22 23:14:55 +05:30
Murali Reddy
e5bd063e21 maintainers v0.0.20 2017-12-19 17:54:27 +05:30
Murali Reddy
d13339c6fa
IPVS sync services performnce improvement (#253)
During periodic sync of IPVS services there is a check if the required service
already existing in IPVS. For the check the list of currnet IPVS services are
read from IPVS. This is causing performance hit as number of services increases.

With this fix, Kube-router reads once from ipvs and use for further during service sync
2017-12-19 17:24:18 +05:30
Murali Reddy
38e30821a8 take-out kube-proxy IPVS status and add DSR
k8s 1.9 has IPVS Beta, but hey Kube-router has DSR :) now
2017-12-16 16:13:49 +05:30
Murali Reddy
c4830aa4e0
enable Pprof with option --enable-pprof (#245)
* rename to connectExternalBGPPeers

* enable pprof for debug purpose
2017-12-12 12:06:38 +05:30
Colin J. Brigato
fcd1a1aab6 Enable support for eBGP Multihop for external peers (#244) 2017-12-12 08:52:55 +05:30
David Robinson
5323b4b8a9 Fix --hairpin-mode=true (#243)
The option was not plumbed through to the controller.
2017-12-11 17:52:34 -06:00
Murali Reddy
628111c71b
so long gitter 2017-12-11 23:58:49 +05:30
Murali Reddy
de3e178b72
Update README.md 2017-12-10 23:47:58 +05:30
Andrew Sy Kim
2685367ab6 add --enable-ibgp flag (#227) 2017-11-27 21:53:44 +05:30
Andrew Sy Kim
bca422105b --bgp-graceful-restart flag should apply for global peers (#226) 2017-11-23 02:31:57 +05:30
Murali Reddy
7c9db2c721 sync with iBGP peers only after RIB is polulated first 2017-11-23 01:45:15 +05:30
Andrew Sy Kim
0dabd7cf11 Support BGP Graceful Restart (#220) 2017-11-23 01:12:36 +05:30
Murali Reddy
97fb3423f7
explicilty create kube-bridge interface. Earlier when pod is launched on the node (#225)
bridge CNI plug-in was setting up. Which leads to errors when no pod is launched on a node.

Fixes #223
2017-11-21 18:54:07 +05:30
Daniel Beal
75bdfa2a10 Fix --nodeport-bind-all-ip option so that it works (#217)
Works by configuring a IPVS service for all interface IPs found on the
system.

NOTE: Does not support IPv6 because I have not tested
2017-11-09 00:33:07 +05:30
sbkoth
cc2cad3ac7 Update kubeadm.md (#216) 2017-11-08 08:10:10 +05:30
Murali Reddy
28c5dd20ef
use table id instead of table name for custom routing tables (#215) v0.0.19 2017-11-08 07:35:47 +05:30
sbkoth
5783c30f33 Fix typo in doc (#212) 2017-11-03 18:20:48 +05:30
Murali Reddy
1a647b694f updating documentation v0.0.18 2017-11-01 17:50:46 +05:30
Murali Reddy
b180094836 set priority for custom routing tables so that, FWMARK packets are delivered locally
and for the rest of the traffic policy routing sets endpoints (dev kube-bridge) as
next hop for external IP's
2017-10-30 17:19:20 +05:30
Murali Reddy
5f425ebb89
Fixes direct server return on exteranl IP's (#210)
- add a route to exteranl ip in custom routing table to prevent martian packets
- switch between Masqurade and Tunnel for forwarding when DSR in disabled and enabled
2017-10-30 11:37:39 +05:30
Murali Reddy
6a3fadae05 Direct Server Return Fixes (#209)
as you annotate and remove DSR annotation, switch the IPVS server
type to tunneling to masqurade mode

also restrict preparing the pod for DSR only to the local pods
2017-10-27 13:40:44 +05:30
Murali Reddy
77f45e356b Use service annotations to choose IPVS scheduling method (#207)
Fixes #6
2017-10-25 11:38:50 +05:30
Murali Reddy
6d432681de support for direct server return (#204)
new annotation is added `kube-router.io/service.dsr=tunnel` to enable DSR

Fixes #40
2017-10-24 18:20:58 +05:30
Murali Reddy
4ca0afa82c Support for advertising service external IP to be configured BGP peers (#203)
introduces new flag `--advertise-external-ip`

Fixes #161
2017-10-17 00:54:19 +05:30
Murali Reddy
ba7697b72e Support for Services with externalIPs (#201)
Fixes #26
2017-10-16 22:45:06 +05:30
Murali Reddy
84741b6a5e network policy: use 'addrtype' module and --src-type=LOCAL to match local traffic 2017-10-16 02:14:44 +05:30
Murali Reddy
665e6676b2 Fix to avoid re-adding existing BGP export policy, and policy assignment (#200)
Fixes #197
2017-10-16 00:50:41 +05:30
Murali Reddy
50173e3b73 Support for 32 bit ASN numbers specifically the range 4200000000 - 4294967294 as specified by RFC 6996 (#196)
Fixes #194
2017-10-13 01:41:53 +05:30
Murali Reddy
9eb1848da5 Network policy: always permit traffic from local node to the pods irrespective of network policies (#195)
fixes #87
2017-10-13 00:43:29 +05:30
Murali Reddy
ea459a32a9 Merge pull request #193 from cloudnativelabs/ntwk-policy-cidr-selector
Support CIDR in network policy ingress and egress rules
2017-10-12 13:23:31 +05:30
Murali Reddy
928deedf79 Support CIDR in network policy ingress and egress rules
Fixes #144
2017-10-12 12:54:17 +05:30
bzub
c3e8c111a7 Fix missing quotes in upgrading examples
Also a small cosmetic change, remove trailing space
2017-10-09 13:24:56 -05:00
Murali Reddy
2b910b2a62 Merge pull request #186 from cloudnativelabs/103-egress-network-policy
Network policy egress support
2017-10-09 14:53:18 +05:30
Murali Reddy
45cb08734e Network policy egress support
Fixes #103
2017-10-09 14:34:40 +05:30