Simulate Stress Scenarios

    You can create experiments using either Chaos Dashboard or the YAML configuration files.

    1. Open Chaos Dashboard, and click NEW EXPERIMENT on the page to create a new experiment:

    2. StressChaos Experiment

    1. 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.

    2. After the configuration file is prepared, use kubectl to create an experiment:

      1. kubectl apply -f memory-stress.yaml

    Stressors

    MemoryStressor
    CPUStressor