Simulate Stress Scenarios
You can create experiments using either Chaos Dashboard or the YAML configuration files.
Open Chaos Dashboard, and click NEW EXPERIMENT on the page to create a new experiment:
-
Write the experiment configuration to the YAML configuration file. In the following example, the file is used.
This experiment configuration will create a process in the selected container, continuously allocate and read and write in memory, occupying up to 256MB of memory.
After the configuration file is prepared, use
kubectl
to create an experiment:kubectl apply -f memory-stress.yaml