Comments (5)
Here's the possible formats for Pod CPU resource requests and limits:
- an integer value, such as
2
- a fraction, such as
0.1
- an integer value in millis, such as
500m
All formats can be present in the same Pod spec and are directly translatable to milliseconds, which is supported by CPUQuotaPeriodSec
, eg:
2
==2.0
==2000m
0.1
==100m
Do you see any limitation of just going w/ that attribute?
from systemk.
from systemk.
Actually, I got it wrong when it comes to systemd primitives. CPUQuota
is the field to use and it supports percentage alone. The conversion should be trivial, though.
Now, this only covers resource limits and not requests.
from systemk.
from systemk.
One problem I see is that it seems that enabling accounting for one slice means parent and child slices are affected too which may not be desirable.
from systemk.
Related Issues (20)
- feature: environment variables HOT 1
- Tracking VK changes
- Ignore immutable Secrets and ConfigMaps
- ownership of host mountpath HOT 3
- Figure out how to do e2e tests HOT 2
- How to use a k8s master manage multiple systemk node HOT 2
- root-less: syntax for not installing packages HOT 1
- Stop chowning paths from systemk HOT 8
- [question] systemk <-> k3s server tunnel ? HOT 1
- flags.Lookup("nodename") does not work
- feature: support different versions of systemd HOT 12
- need libsystemd-dev to compile systemk HOT 1
- enhancement: systemd-nspawn to launch real Image= container HOT 2
- TLS certs for handlers we run HOT 8
- provide releases HOT 1
- When run in user mode use /var/run/$UID instead of /var/run for bindmounts HOT 1
- log support requires CGO HOT 4
- user mode is not feasible HOT 4
- remove klog flags that are not needed HOT 1
- unit file getter function
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 systemk.