Comments (4)
Here's a sample payload
start:
requested_resources:
- type: vcpus
value: 2
- type: mem_mb
value: 16
instance_uuid: 67d86208-b46c-4465-9018-e14187d41
tenant_uuid: 67d86208-000-4465-9018-fe14087d415f
docker_image: ubuntu/python
vm_type: docker
networking:
vnic_mac: CA:FE:00:02:02:03
vnic_uuid: 67d86208-b46c-0000-9018-fe14087d415f
concentrator_ip: 192.168.200.200
concentrator_uuid: 67d86208-b46c-4465-0000-fe14087d415f
subnet: 192.168.111.0/24
private_ip: 192.168.111.101
memory and vcpus are currently ignored.
from ciao.
Proposal:
For memory: use -m mem_mb
For cpu: use --cpu-period=50000 --cpu-quota=50000 * vcpus
See https://docs.docker.com/engine/reference/run/
from ciao.
Just out of a matter of interest why use a period of 50000? Reading the docs the default seems to be 100000. I was just curious as to why we don't use the default. Otherwise the formulas look good.
from ciao.
Let's use 100ms.
from ciao.
Related Issues (20)
- Intermittent TestCreateTenant failure
- ciao panics do not appear in our logs
- Image and Workloads do not surive a controller restart
- Cloud full is reported for all scheduling problems
- New CNCI image creation has broken ciao builds are broken HOT 3
- SSNTP comments are incorrect HOT 1
- ciao uses EOL fedora cloud image in bat workloads
- workload_bat.TestCreatePublicWorkload only works because of a bug
- Confusing error message when changing subnet bits
- Consolidate clear linux image fetching code
- Unable to ssh into an instance whose tenant's cidr-prefix-size=30 HOT 2
- Instance DNS lookups do not work across subnets
- Controller does not validate updated subnet size HOT 1
- Unable to ping private IP address of instance in a different subnet HOT 4
- kubicle should use the client package
- container networking may not work when subnet mask is not == 24 HOT 2
- BAT tests README missing HOT 2
- Can't locate info on privileged containers in documentation
- Networking: Adding support for SRIOV HOT 2
- Is this project still under maintained?
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 ciao.