Comments (1)
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:
- we're currently working on swapping out the deprecated libbpf for the newer libxdp library
- 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)
- eno1 a globally prohibited device, removing from list of host devices HOT 2
- [newbie] UDS client or API specification? HOT 5
- working of AF_XDP plugin
- [Listen] Listener timed out: accept unixpacket HOT 3
- CNI doesn't find link after reboot HOT 4
- Which device drivers are supported by cdq mode? HOT 2
- Cannot allocate multiple devices to pod HOT 2
- Support needed for newer libbpf versions. HOT 2
- Remove CNI bpf responsibilities after the DP Syncer changes as merged
- Simplify UDS Server
- use our own xdp program HOT 1
- Pod Requiring Privilege in order to run cndpfwd application in Kubernetes. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afxdp-plugins-for-kubernetes.