Giter Club home page Giter Club logo

Comments (2)

kshafiee avatar kshafiee commented on May 26, 2024

@sheetaljoshi

PR #30 enables this feature. Feel free to pull the PR and use it.
The idea is that it searches all of the .conf files under /etc/cni/net.d for the cni passed by the user in the Pod yaml. It then passes all of configs in the .conf file into the cni binary, e.g., calico, weave-net, etc.

The reason we did not merge this into master at this point is that it complicates CNI-Genie because

  1. it fails if there is no .conf file for the cni passed by the user
  2. CNI-Genie passes all of configs in the .conf file to the cni binary. So, if any if the configs in the .conf file is invalid, this will fail

Here is 2 example pods that I just created using PR #30
image
image
image

image
image
image

from cni-genie.

kshafiee avatar kshafiee commented on May 26, 2024

@sheetaljoshi the code is merged into master now. Any additional plugin can be supported now. All you need to do is to make sure you have the binary available in /opt/cni/bin and the .conf file available under /etc/cni/net.d

from cni-genie.

Related Issues (20)

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.