Giter Site home page Giter Site logo

Comments (1)

garyloug avatar garyloug commented on May 28, 2024

Hi @infinitydon

My apologies for the slow reply, I missed this issue.

Will the interface be visible in the kernel space like using normal Linux commands ifconfig/iproute2?

No, it will not be visible from the host. Container networking usually means moving interfaces from host to container network namespace. The interface will no longer be visible if you run ifconfig, ip, etc.
You can however exec into the pod and you'll find your interface visible there using these commands.

Is there a strict need for an additional software/library to be installed before the interface can be used?

There shouldn't be. It depends how you deploy the plugins. They are intended to be deployed within a daemonset and in this scenario everything is packaged up for you in the docker image. Once you run this on top of kernel 4.20+ then it should just work.

When we're testing/developing these plugins we sometimes manually run the plugin binaries directly on the host. In this case you'll need some dependencies installed on the host such as libbpf.

FYI:

  1. we're currently working on swapping out the deprecated libbpf for the newer libxdp library
  2. the docker image I mentioned, you need to build that yourself (make image). We're currently working on getting the image published somewhere like dockerhub, so there will be no need for this manual step soon.

KR,
Gary

from afxdp-plugins-for-kubernetes.

Related Issues (13)

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.