Comments (2)
Question... if we are statically configuring services to PFs... how does that link up with the real registry for the network service registry domain?
If we are configuring multiple capabilities for each PF... how does that map to the Device Plugin scheduling URL that has one capability?
from cmd-forwarder-sriov.
-
My fault - it is not a service but serviceDomain. We can make some assumption that there is some set of Endpoints over the PF labeled as serviceDomain=... and there is at least one of them registered with the service we need. If not, request will fail on discovery stage.
-
PF provides multiple token names: { service/intel, service/10G }. After client selects VF using one of the tokens, all the other tokens are marked as closed and set unhealthy for Device Plugin so it stops scheduling them to clients and reschedules clients for which those devices has been allocated.
PF = 2 * { service: intel, 10G } -> []{
service/intel{1} - free,
service/10G{2} - free,
service/intel{3} - free,
service/10G{4} - free
}
client-1 -allocate-> service/intel{1} - allocated
client-2 -allocate-> service/intel{3} - allocated
client-3 -allocate-> service/10G{2} - allocated
client-1 -use-> service/intel{1} - inUse, service/10G{4} - closed (first close free, then allocated)
client-3 -use-> service/10G{2} - inUse, service/intel{3} - closed (don't close inUse)
* * * reschedule client-2 to another node * * *
from cmd-forwarder-sriov.
Related Issues (15)
- Add initial CI for cmd-forwarder-sriov repository HOT 2
- Add initial abstract forwarder application
- Add initial docker file
- Apply pattern for cmd repositories HOT 1
- Add interface injection chain element HOT 1
- Add VF selector chain element HOT 2
- Add test Endpoint HOT 1
- Add initial forwarder config initialization HOT 1
- Remove redundant test API HOT 2
- Add retries for the method of device plugin ListAndWatch()
- Testing application test/applications/k8s can be removed HOT 2
- Move all tests to separate testing pkg HOT 2
- mechanism preferences doesn't work when nsc and nse are in same worker node HOT 2
- move device plugin server into common repo 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 cmd-forwarder-sriov.