Resource attacks are a good starting point to start Chaos Engineering.
You can find out how your application behaves when the machine it is running on has a high CPU load, is running out of memory or is performing many IO operations.
All attacks can have a Host or a Container as their target, the configuration is the same.
If you are not using our container images for the agents, you need install the
stress-ngtool to attack Hosts.
Generate CPU load for one or more cores
|Worker||How many CPU cores should be consumed?||2|
|CPU Load||How many workers should be used to stress the CPU? (0 = 1 per core)||80|
|Duration||How long should CPU be consumed?||30s|
Generate read/write operation on hard disks.
|Duration||How long should IO be consumed?||30s|
|Workers||How many workers should continually write, read and remove temporary files? (0 = 1 per core)||1|
Allocate a specific amount of memory. Note that this can cause systems to trip the kernel OOM killer on Linux if not enough physical memory and swap is available.
|Duration||How long should memory be wasted?||30s|
|Percentage||How much memory should be wasted?||75|
|Workers||How many workers should produce memory waste? (0 = 1 per core)||1|