Comments (3)
Hi Nikos, sorry for the late reply, we didn't link this issue in the related PR but the feature is now available (for a few versions actually).
from chaos-controller.
Hi Nikos, we have such a thing in our backlog with no ETA at the moment though we didn't plan to support a specific percentage, more a number of cores (that could be specified as a percentage per say but that would be rounded depending on the number of cores). A concrete example would be that specifying something like
spec:
cpuPressure:
pct: 40%
would result in using half of the cores at 100% (so in reality 50%). The reason is that it we can easily eat all allocated cores (and we can also easily decide how many cores we want to allocate to the injector process) but we can't easily precisely compute a percentage of CPU usage within the injector itself.
Another spec format could be:
spec:
cpuPressure:
cores: 2
But then it is less dynamic depending on the target since we have a fix number of cores.
Would it fit your needs or did you think about using a specific percentage of CPUs?
from chaos-controller.
Thanks Joris.
Got it, it gets tricky due to its implementation.
I think a percentage would be more user-friendly, but if it is not deterministic it may confuse the users.
Do you know how tools like stress-ng achieve that? It seems to support number of workers (cores) and load (percentage).
from chaos-controller.
Related Issues (20)
- User Request: Debugging instructions HOT 3
- User Issue: Status not being a subresource causes issues with control planes HOT 5
- User Issue: Traffic surge once a packet drop network failure finishes HOT 6
- User Issue: CPU pressure does not consume 100% of the pods allocated CPU HOT 1
- User Request: store failures in the Custom Resource's status HOT 11
- User Issue: Security vulnerabilities flagged in Docker images with Go 1.16 HOT 4
- User Request: Release Dynamic Targeting behind a feature flag in controller HOT 4
- User Issue: Unable to terminate node level network experiments HOT 8
- Static Targeting example HOT 2
- User Request: Release cloudProviders behind a feature flag in controller HOT 5
- User Issue: Unable to gracefully terminate pods container HOT 9
- Guidance running CPU pressure experiments HOT 5
- User Issue / Suggestion: Controller arguments do not supersede config file HOT 2
- User Issue: Error pulling image with 7.19.0
- User Issue: CPU Pressure experiment could not inject the disruption successfully HOT 5
- Unable to dynamically target and experiments end on PreviouslyPartiallyInjected 7.22 HOT 4
- 7.26.0 Upgrade Issues - CrashBackLoop HOT 3
- 7.26.0 Upgrade Issues - InjectionStatus PreviouslyPartiallyInjected HOT 21
- User Request: Add support for tolerations on injector pods HOT 1
- User Issue: OnInit Chaos handler loop HOT 2
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 chaos-controller.