Skip to main content

Automated onboarding

This topic guides you through setting up the chaos infrastructure, executing chaos experiments, and viewing the resilience dashboard with single clicks.

Before you begin

tip

Currently, this feature is behind the feature flag CHAOS_V2_ENABLED. Contact Harness support to enable the feature.

Execute chaos experiments automatically

If you chose to onboard automatically, follow the steps below.

Select an environment

  1. Select an environment from the list and select Next.

    select env

Select an infrastructure

  1. Select the target infrastructure on which you want to execute the chaos experiments. Select Apply.

    select infrastructure

Automatically discover services

  1. Based on your inputs earlier, HCE discovers services in your cluster (that is, service discovery) to create chaos experiments.

    service discovery

Automatically create experiments

  1. HCE automatically creates chaos experiments and selects a few experiments to execute.

    create experiment

  2. HCE chooses to execute safe chaos experiments, that is, experiments that have a low blast radius.

    execute experiment

View logs and resilience dashboard

  1. You can see the status of the chaos experiment execution, as well as view the experiment execution. You can also see the resilience score of the experiment if you select View Resilience Dashboard.

    experiment status

  2. To view the experiment execution logs, select View Execution which opens on a new page. Here, you can see the logs of the experiment.

    error log

View the progress of an experiment

  1. You can view the progress of a chaos experiment you created earlier. Select View Progress.

    view progress

  2. Select View on the infrastructure where you executed the chaos experiment.

    cluster view

Conclusion

Congratulations! You completed the automated HCE onboarding. Now you are all set to explore the chaos faults and build resilient applications.