Giter Club home page Giter Club logo

k-vswitch's Issues

Implement ARP proxy/responder

Current set of OpenFlow rules accounts for both local and remote arp traffic. The good thing here is that there's no ARP broadcast as long as we capture this traffic via OpenFlow. An even better optimization would be to implement a local ARP proxy/responder so remote ARP is not necessary.

Integrate sFlow with k-vswitch for traffic telemetry

Basically, since k-vswitch is based on Open-vSwitch, sFlow support comes for free. We still need to configure sFlow parameters and expose it in the vSwitch config so it can be picked up later during bootstrap.

Unit test open flow controller syncFlows()

Some unit tests for syncFlows() would be nice. One approach is to create a kubernetes fake client, generate the resources we are watching for (vswitchconfig, pods and network policies) and validate that the flows buffer that would be passed into ovs-ofctl replace-flows. It doesn't actually validate that the flows are configured properly but I think it's still a good improvement from what we have now.

Should each pod use an internal port instead of a veth pair?

Like most CNI plugins, k-vswitch is creating a veth pair with the given network namespace and attaching one end of the veth pair to the OVS bridge. A possible performance optimization would be to have each pod network namespace behind an OVS internal port rather than a veth pair, possibly less overhead on the kernel.

Windows Support

OVS has Windows support and in Kubernetes v1.14, Windows support went GA. k-vswitch, if possible, should also have Windows support as a Kubernetes CNI.

Remove duplicated veth pair code

In #10 as part of implementing ARP responder we had to duplicate the code from github.com/containernetworking/plugins which was responsible for creating the veth pair. This is ok for now but we should consider ways to get rid of this duplicated code

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.