Commit Graph

6 Commits

Author SHA1 Message Date
Brendan Burns
3f98ac07c2 Add a QPS limiter to the kubernetes client. 2015-04-03 11:58:51 -07:00
Tim Hockin
8ae203825b Implement multi-port endpoints
Instead of endpoints being a flat list, it is now a list of "subsets"
where each is a struct of {Addresses, Ports}.  To generate the list of
endpoints you need to take union of the Cartesian products of the
subsets.  This is compact in the vast majority of cases, yet still
represents named ports and corner cases (e.g. each pod has a different
port number).

This also stores subsets in a deterministic order (sorted by hash) to
avoid spurious updates and comparison problems.

This is a fully compatible change - old objects and clients will
keepworking as long as they don't need the new functionality.

This is the prep for multi-port Services, which will add API to produce
endpoints in this new structure.
2015-03-27 12:36:32 -07:00
Satnam Singh
701c0e23dc Fix bug in webserver test container and add extra diagnostics 2015-03-18 14:53:03 -07:00
Sam Ghods
e0519f23f7 Fix network tester build error 2015-03-09 19:54:48 -07:00
Brendan Burns
8bce2ef61c Fix contrib webserver so that it compiles. 2015-02-02 15:20:28 -08:00
Daniel Smith
18e47ba056 Add network testing pod 2014-12-09 10:55:10 -08:00