Running predefined scenario-based attacks

Gremlin chaos scenarios help bundle attacks together to generate real-world outage scenarios. In this recipe, we will learn about the predefined scenarios that we can use to validate how our system responds to common failures.

Let's perform the following steps to validate autoscaling:

  1. Log in to your Gremlin account at https://app.gremlin.com/.
  2. Click on the Scenarios menu and review the Recommended scenarios:

  1. Make sure autoscaling is enabled on your Kubernetes cluster and select the Validate Auto-Scaling scenario.
  2. Click on the Add targets and run button:

  1. Click on Run Scenario to execute the attack.

As a result, Gremlin will execute a CPU attack on the existing nodes to put pressure on the cluster, which should ideally trigger the autoscaling feature of the cluster to reduce CPU pressure.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.221.136.142