Applying cloud native chaos engineering to your applications using Litmus

Litmus

Applying cloud native chaos engineering to your applications using Litmus
Litmus

Litmus offers you these compelling features:

  • Kubernetes native CRDs to manage chaos. Using chaos API, orchestration, scheduling, and complex workflow management can be orchestrated declaratively.
  • Most of the generic chaos experiments are readily available for you to get started with your initial chaos engineering needs.
  • An SDK is available in GO, Python, and Ansible. A basic experiment structure is created quickly using SDK and developers and SREs just need to add the chaos logic to make a new experiment.
  • It’s simple to complex chaos workflows are easy to construct. Use GitOps and the chaos workflows to scale your chaos engineering efforts and increase the resilience of your Kubernetes platform.

Litmus takes a cloud native approach to create, manage, and monitor chaos. Chaos is orchestrated using the following Kubernetes Custom Resource Definitions (CRDs):

  • ChaosEngine: A resource to link a Kubernetes application or Kubernetes node to a ChaosExperiment. ChaosEngine is watched by Litmus' Chaos-Operator which then invokes Chaos-Experiments.
  • ChaosExperiment: A resource to group the configuration parameters of a chaos experiment. ChaosExperiment CRs are created by the operator when experiments are invoked by ChaosEngine.
  • ChaosResult: A resource to hold the results of a chaos-experiment. The Chaos-exporter reads the results and exports the metrics into a configured Prometheus server.

In this lab, you will learn how to:

    ☐ Install and configure Litmus on Kubernetes
    ☐ Install Litmus experiments, RBAC, and prepare the Chaos Engine
    ☐ Deliver chaos experiments
    ☐ Observe the chaos engine exercise your experiments

Thank You

Many thanks to Sayan Mondal for laying the foundation for this lab and formulating these important teaching moments.

Aside from this lab, here is an informative 20-minute video on your first chaos experiment with Litmus:

  • LEVEL

    Beginner

  • DURATION

    20 minutes

  • UPDATED

    31 Dec, 2021

Categories