Giter VIP home page Giter VIP logo

Comments (7)

uablrek avatar uablrek commented on June 2, 2024 1

I can confirm that "ipvlan" networks can be created in pods started with cri-o.

from danm.

Levovar avatar Levovar commented on June 2, 2024

Project is only compliant with Docker, but not with other runtimes.

from danm.

Levovar avatar Levovar commented on June 2, 2024

Basically it is just a question of using the right Client towards the run-time, but at the moment we only support connecting to a Docker engine, as this is the most popular use-case out there.
Theoretically speaking choosing the right client could be made configurable ofc.

from danm.

uablrek avatar uablrek commented on June 2, 2024

I think you can be "container runtime agnostic" as other CNI plugins seem to be. Copy some code from the main cni plugins. I think I can use delegated CNI's just not the built-in's. My CNI plugin for the main k8s network is "bridge" and works fine.

from danm.

Levovar avatar Levovar commented on June 2, 2024

Yep, we definitely can be! It is just we are not, at the moment.
Basically we are using "docker inspect" to figure out the netns of the infra Pod from its CID, and this is the only reason we have a docker client in the code.
But the same info can be gathered via direct means too, you are right.

We discussed it internally and @rospring will look into it! Thanks for the find.
Always happy to hear how other people would be / are using the project :)

from danm.

rospring avatar rospring commented on June 2, 2024

We will correct it soon. netns is coming when cni is invoked.

from danm.

Levovar avatar Levovar commented on June 2, 2024

Fixed with #26

from danm.

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.