Overview
This topic describes the versions of HCE, the interaction between different components, and how to get started with HCE.
Before you begin
Harness Chaos Engineering is available in SaaS and self-managed versions.
- SaaS (Software-as-a-service): You either sign up or get invited to a specific project. You can also create a project if you have the necessary permissions. HCE helps manage the cluster.
- SMP (Self-managed platform): You create, manage and maintain your clusters. You are responsible for providing permissions to projects and handling issues associated with them.
Interaction between execution plane and control plane
The execution plane consists of components required to orchestrate the chaos injection (the process of injecting chaos into target resources). These components are installed in clusters (external or internal depending on the type of chaos infrastructure used). Some of the components include:
- Workflow controller: Helps execute chaos experiments.
- Subscriber: Serves as a bridge between the execution plane and control plane. It also performs other tasks required to orchestrate the chaos experiment executions.
The control plane consists of microservices that help with the functioning of the web-based portal. This portal is used to create, schedule, and monitor chaos experiments.
The execution plane helps set up the resources (clusters) and you can use the control plane to interact with the cluster and create chaos experiments.
Steps to execute a HCE experiment
To create a chaos experiment, complete the following steps:
- Fulfill the resource requirements: In this step, you can create resources or get the required permissions to create the necessary resources.
- Add an environment: A chaos experiment is performed within a chaos environment that houses the necessary infrastructure.
- Add a chaos infrastructure: The required chaos infrastructure is created within a chaos environment.
- Validate the chaos infrastructure installation: Once you create your chaos infrastructure, ensure that it has been created in the right manner.
- Create a demo application: You can either create a demo application or use your application on which you can execute chaos experiments.
- Create and run a chaos experiment: Once you have set up your application, you can decide which resources to target and execute the chaos experiments on.
Next steps
For a guided experience, try: