GithubHelp home page GithubHelp logo

megzo / dunlin-pythoncontroller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dunlinplugin/dunlin-pythoncontroller

0.0 1.0 0.0 18 KB

Python controller for Dunlin plugin

License: Apache License 2.0

Dockerfile 1.90% Python 98.10%

dunlin-pythoncontroller's Introduction

Python controller for Dunlin Plugin

This controller was created in order to further popularize Open vSwitch based Kubernetes cluster networking. This is an MVP version in Python, in later versions we will use GO for the same purpose.

This simple Python controller connects to the Kubernetes API, reads information of PODs, Services and Nodes, and install appropriate OpenFlow rules to the OVS switches running on every K8S nodes so that every POD can reach each other in the cluster.

To use the Dunlin Plugin in your Kubernetes cluster, before the installation of the network plugin (refer to step #3 at https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/) install Open vSwitch on every node using the following command:

$ sudo apt install openvswitch-switch

You can veryfy that OVS is up and running by the following command:

$ sudo ovs-vsctl show

Then, you can install the Dunlin Plugin with the following Kubernetes command:

$ kubectl apply -f https://dunlin.io/dunlin.yaml

dunlin-pythoncontroller's People

Contributors

dunlinplugin avatar leannetworking avatar megzo avatar

Watchers

 avatar

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.