Harness Chaos Engineering Faults Landscape
Tags: devops, cicd, chaosengineering
Published: 2023-11-28 03:38:11

Harness Chaos Engineering provides a library of chaos faults using which chaos experiments are constructed and run. It is simple and intuitive to construct the chaos experiments using the given set of chaos faults. Before we delve into the details of the faults, let's look at the anatomy of a chaos experiment and the role of the chaos faults in the chaos experiments.

### **Quick Review of a Chaos Fault and a Chaos Experiment**

A chaos fault is an actual fault or some distress injected around a system resource like CPU, Memory, Network, Time, IO system, Nodes, etc. A chaos experiment is an attempt to measure the resilience of a system when one or more chaos faults are run on it. In Harness Chaos Engineering, an experiment not only runs chaos faults, but it measures the resilience of the system in the context of the faults that were run. 

When a chaos experiment is completed running, it provides a “Resilience Score,” which indicates the resilience of the target system against the faults that are injected.  The Resilience Score is the % of successful steady state measurements measured during the chaos experiment execution.

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/65647a3e9d3cc9117ded993b_Diagram.png)

### **Resilience Score of a Chaos Experiment**

A developer who is designing and implementing the chaos experiment controls the meaning of a Resilience Score. The higher the number of steady state checks or probes passed during the experiment execution, the more it contributes to the resilience score. The steady state measurements in Harness CE are done through the Resilience Probes. Many resilience probes can be attached to a fault. The more probes you add to the faults inside the experiment, the more realistic the resilience score of the experiment will become. 

The Resilience score of a chaos experiment = The percentage of successful resilience probes in the experiment. 

##### Construction of a Chaos Experiment

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/65647a503b6d0722050208b1_Diagram-1.png)

‍

### **Chaos Fault Landscape in Harness Chaos Engineering**

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/656461336f3be10641e5776b_k8s100.png)

**Faults for Kubernetes Resources**  
Runs via the Kubernetes Chaos Infrastructure or Agent

**Supported Faults:**

All Pod related faults, Node faults, http faults, IO/database chaos, network faults and load chaos. These faults are certified for the cloud Kubernetes services like EKS, AKE and GKE as well as for the on-prem versions like RedHat OpenShift, SuSE Rancher and VMware Tanzu. 

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/6564935b7ada5dccdaef53b0_vmware-logo%201.png)

**Faults for VMWare Resources**

Runs via the Kubernetes Chaos Infrastructure or Agent

**Supported Faults:**

Chaos faults are either injected through the VCenter APIs or through the VMware Tools directly on the operating system running inside the VM. Some faults such as VM power off, VM disk detach and VM host reboot are performed at the VCenter Level. Most of the common faults related to CPU/Memory/IO/Disk stress, http, DNS and Network faults are performed through the operating system through VMware tools. All the common faults are supported for the VMs running on Linux or Windows.

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/65649397afdf081535406de0_linux%201.png)

**Faults for Linux Resources**

Runs via the dedicated LinuxChaos Infrastructure or Agent

**Supported Faults:**

All faults related to resource stress, network and process. DNS error and spoof, Time Chaos and Disk are also supported. With ssh fault, network switches can also be targeted.

‍

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/656493eb92bb635c59505b8c_windows%201.png)

**Faults for Windows Resources**

Runs via the Kubernetes Chaos Infrastructure or Agent

**Supported Faults:**

All faults related to resource stress, network and process. Time Chaos and Disk fill are also supported. These are supported for Windows instances that are running on Azure, VMware and AWS.

‍

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/6564941beef870b4d8643870_aws.png)

**Faults for AWS Resources**

Runs via the Kubernetes Chaos Infrastructure or Agent

**Supported Faults:**

Deep coverage in the chaos faults for EBS, EC2, ECS and Lambda. AZ down faults for NLB, ALB and CLB. Some faults for RDS. All Kubernetes faults are supported for EKS on AWS. 

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/65649477034c7058303af959_Google-Cloud-Emblem%201.png)

**Faults for GCP Resources**

Runs via the Kubernetes Chaos Infrastructure or Agent

**Supported Faults:**

Faults for GCP VM disk and instance. All Kubernetes faults for GKE. 

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/656494a7034c7058303b33ee_azure%201.png)

**Faults for Azure Resources**

Runs via the Kubernetes Chaos Infrastructure or Agent

**Supported Faults:**

Faults for Azure VM disk,  instance and web app. All Kubernetes faults for AKS. 

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/656495416409d78705c4b45e_pcf%201.png)

**Faults for Cloud FoundryResources**

Runs via the dedicated LinuxChaos Infrastructure or Agent

**Supported Faults:**

Support is extended for Pivotal Cloud Foundry as well as any other Cloud Foundry versions. Faults for Cloud Found App like Delete App, remove routes to app, stop app, unbind service from app etc are supported.

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/656495a62063cb77507e7e60_springboot%201.png)

**Faults for Spring Boot Resources**

Runs via the Kubernetes Chaos Infrastructure or Agent

**Supported Faults:**

Chaos faults for Spring Boot Apps. App Kill, CPU Stress, Memory Stress, Latency, Exceptions and any chaos monkey fault as wrapper. 

### **Conclusion**

Harness Chaos Engineering supports a wide variety of chaos faults that spans across Operating systems, Cloud platforms and Kubernetes. These faults enable end users to verify the resilience of the code being deployed to the target systems or of the systems serving business critical applications. Check out all the Harness Chaos Faults on the [Harness Developer Hub.](https://developer.harness.io/docs/chaos-engineering/technical-reference/chaos-faults/)

[

![](https://assets-global.website-files.com/622642781cd7e96ac1f66807/6564999d6b66127278d45303_HCE%20200px.png)

](https://app.harness.io/auth/#/signup?module=chaos&utm_source=harness_io&utm_medium=cta&utm_campaign=ce&utm_content=hero)

‍

‍

‍[Sign up FREE](https://app.harness.io/auth/#/signup?module=chaos&utm_source=harness_io&utm_medium=cta&utm_campaign=ce&utm_content=hero) to experience the ease of resilience verification using chaos experiments. Harness provides a free plan that enables you to run a few chaos experiments free of charge for unlimited time.

‍

‍Check out the original blog [here](https://www.harness.io/blog/harness-chaos-engineering-landscape)!