Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Latest commit

 

History

History
54 lines (25 loc) · 1.31 KB

architecture.md

File metadata and controls

54 lines (25 loc) · 1.31 KB
id title sidebar_label
architecture
Litmus Architecture
Architecture

Chaos-Operator

Chaos-Operator watches for the ChaosEngine CR and executes the Chaos-Experiments mentioned in the CR. Chaos-Operator is namespace scoped. By default, it runs in litmus namespace. Once the experiment is completed, chaos-operator invokes chaos-exporter to export chaos metrics to a Prometheus database.

Chaos-CRDs

During installation, the following three CRDs are installed on the Kubernetes cluster.

chaosengines.litmuschaos.io

chaosexperiments.litmuschaos.io

chaosresults.litmuschaos.io

Chaos-Experiments

Chaos Experiment is a CR and are available as YAML files on Chaos Hub. For more details visit Chaos Hub documentation.

Chaos-Engine

ChaosEngine CR links application to experiments. User has to create ChaosEngine YAML by specifying the application label and experiments and create the CR. The CR is watched by Chaos-Operator and chaos-experiments are executed on a given application.

Chaos-Exporter

Optionally metrics can be exported to a Prometheus database. Chaos-Exporter implements the Prometheus metrics endpoint.