Skip to main content

Requirements

This topic describes the resource permissions, fault compatibility matrix, and the permissions required to execute Linux chaos experiments.

Resource consumption

The infrastructure consumes minimal system resources in an idle state, when no experiment is being executed. For example, in a GCP e2-micro VM instance with 2 vCPU and 1 GB of memory that runs Ubuntu 22.04 operating system, the average resource consumption was found to be as follows:

  • CPU usage: 0.05%
  • Memory usage: 1.5%
  • Disk storage consumption: 25 MB
  • Bandwidth consumption: 0.15 KB/s

Fault compatibility matrix

The faults have been tested for compatibility in the following Linux OS distributions:

Stress faults (cpu, memory, disk IO)Network faults (loss, latency, corruption, duplication)DNS faults (error, spoof)Process faults (process kill, service restart)Time chaosDisk fill
Ubuntu 16+
Debian 10+
CentOS 7+
RHEL 7+
Fedora 30+
openSUSE LEAP 15.4+ / SUSE Linux Enterprise 15+

On-premise VMs (VMware VMs)

Linux OS

Chaos agent deployment model Native Chaos Agent on Each VM (system service within Target Linux Machine) Centralized Chaos agent on Kubernetes (leverage VMware Tools to inject chaos processes inside guest VM )
Connectivity requirements from agent
  • Outbound over port 443 to Harness from VM.
  • Outbound to application health endpoints (ones which will be used for resilience validation) from VM
  • Outbound over port 443 to Harness from Kubernetes cluster
  • Outbound over 443 to vCenter from Kubernetes cluster
  • Outbound to application health endpoints (ones which will be used for resilience validation) from kubernetes cluster.
Connectivity requirements from VM/cluster/app
  • Application and chaos agent co-exist on the same VM.
  • Inbound over port 443 on ESX Host (from Kubernetes chaos agent)
Access requirements for agent install
  • Install agent as root user.
  • Install agent as a cluster-admin or as a user mapped to cluster role with these permissions.
Access requirements for basic chaos experiments
  • Run experiments with non-root user.
  • vCenter user should be mapped to a predefined chaos role.
  • VMware tools should be setup on the VM.
  • Remote command injection can be performed with non-root user.
Access requirements for advanced chaos experiments
  • Run experiments with non-root user.
  • vCenter user should be mapped to a predefined chaos role.
  • VMware tools should be setup on the VM.
  • Remote command injection can be performed with non-root user.
Supported chaos faults