With Litmus 2.0 announced, you are no longer confined to perform Chaos Engineering with a terminal in your hand. You now have a control plane to create, schedule and analyze chaos workflows with our upgraded Litmus Portal.
The new Litmus Portal makes chaos engineering fun and hassle free. With a single click, you can re-run a workflow without configuring it again. Don't want to create a new workflow from scratch, just save one of the existing workflow as a predefined template and much more. In this blog we will go through all the new features that are added to the Portal with the 2.0 update.
Litmus is a complete framework to perform chaos engineering in a cloud-native ecosystem.
It is a toolkit to orchastrate chaos on Kubernetes. It allows SRE to inject chaos in the environment and find the bugs and vulnerabilities in the system. Fixing these vulnerebilities will ultimately make the system resilient.
Chaos experiments are hosted on ChaosHub. It is a public marketplace where different vendors share their chaos experiments so that their users can use them to increase the resilience of the applications in production.
Choose a workflow 🎟️
With the new Litmus Portal, you can choose workflows from 4 different ways.
a. Create a new workflow from one of the pre-defined chaos experiment. With this option, you can select the pre-defined experiments that executes chaos operations on real-world applications like
sock-shop. Currently there are 3 pre-defined experiments available
kube-proxy-chaosand the new
b. Create a new workflow by cloning and existing workflow. With this option, you can save an existing workflow as a template from the scheduled workflows. This options saves some time if you don't want to schedule a workflow from scratch.
c. Create a new workflow using experiments from MyHub. With this option, you can create custom experiments from the connected MyHubs. By default , the public Chaos Hub is already installed. You can connect a MyHub with the following steps
Tune Workflow 🎯
A lot of new changes are added in the tune workflow section, these include:
a. Workflow Visualisation 👀 - Now visualize your workflow even before scheduling it. This feature gives a breif idea about the sturcture of the workflow. You can view the experiments if they are parallel or serial.
b. Experiments Table 📋 - This table give valuable information about the experiments present in the workflow. It also shows the target applications of each experiments where chaos will be injected.
c. Sequencing Experiments 🔧 - This is one of the major feature we added with the 2.0 update, with this you can tune the sequence of the workflow by dragging and dropping the experiment as shown below. This allows you to sequence your experiments parallel and serial manner.
d. Tune Experiments 🔥 - Our prior focus with the 2.0 update was to make the experiment tuning step hassle free for the user, hence we added the Kubernetes Object integration in this step. With this you can get the cluster details like the available namespaces and the application labels according to the resourse type. This allows you to target the application to inject chaos in a much simpler way.
e. Probes Integration ⌚ - Now you can add probes directly from the portal. The probe properties are available dynamically in the portal. Select one probe and add it in your chaos engine to enhance your chaos testing.
So these were the new changes we have added in the workflow creation steps. Stay tuned, a lot of new features will be available in the coming releases.
Further, feel free to put forward any queries or concerns you have. I would love to address them. I would love to invite you to our slack community for keeping up to date and interacting with our community members, contributors & maintainers.
To join our slack please follow the following steps!
Step 1: Join the Kubernetes slack using the following link: https://slack.k8s.io/
Step 2: Join the #litmus channel on the Kubernetes slack or use this link after joining the Kubernetes slack: https://slack.litmuschaos.io/