Comments (3)
Sorry again that I am being vague here. The example pods I am trying to run are from k8s doc. They r not computation or I/O sensitive to me, no, but I just want to make sure it's not like the case that poseidon cannot see other options but the machine resource it runs on.
from poseidon.
@dalanlan This is entirely plausible: depending on the value of --max_tasks_per_pu
that you use (the default is 10), the scheduler may put several pods on each machine.
The specific policy applied depends on what cost model the Firmament library uses under the hood. This is read from the --flow_scheduling_cost_model
flag and the default is the TRIVIAL
cost model (0). The trivial cost model does not have any sophisticated assignment policy: it just sets a higher cost for leaving tasks unscheduled than for scheduling them anywhere. If you want to look into using more complex policies with Poseidon, you'll want to specify a different cost model. That said: since Poseidon does not yet allow for passing K8s metrics through to Firmament's knowledge base, the policies will have little information to work with, and may not do anything particularly useful when using from Poseidon.
Depending on what your goal is, you could either patch Poseidon with the necessary plumbing to get your cost model to work (we can possibly help you with this), or you could develop your own cost model that reflects the scheduling policy you need (again, we can help with this, but it will require building the Firmament library (and Poseidon) from scratch.
from poseidon.
Closing, as things have moved on (although above still remains essentially valid).
Let us know if any questions remain, or if you encounter issues with the new code.
from poseidon.
Related Issues (20)
- Kubernetes Storage E2E Test Failures HOT 3
- Kubernetes Networking E2E Test Failures HOT 1
- `make` fails after running `dep ensure` and `hack/update-bazel.sh` HOT 2
- Create v0.5 release note HOT 4
- looks good, but one suggestion: HOT 8
- Test guide for poseidon installation has a bug
- Redundant License files present in sub-directories HOT 5
- Missing Test Coverage report HOT 5
- Duplicate AddTaskInfo call for Poseidon scheduled pods after pods move to running state HOT 3
- Can not schedule the newly created pod when Job failed HOT 6
- Do we support GPU scheduling now ? HOT 5
- Project status HOT 6
- Can multiple policies be implemented simultaneously HOT 4
- how to get poseidon's metrics data HOT 7
- why pending pods can't be scheduled before poseidon restart?
- do you have tools or scripts available to do benchmark and generate report? HOT 4
- Benchmark was done using which flow cost model? HOT 2
- How to deploy firmament flow scheduler in cluster? HOT 1
- A question about how many pods can be scheduled at one time using poseidon. HOT 5
- Status of poseidon HOT 24
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 poseidon.