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.
Before moving ahead, let's know about Litmus. β
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.
New Upgrades with Litmus 2.0 π
Workflow Creation βοΈ
-
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 availablesock-shop-chaos
,kube-proxy-chaos
and the newpodtato-head-chaos
.
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
d. Import workflow using YAML. With this option, you can upload a workflow manifest and tune it according to the use-case and schedule it.
-
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.
f. Reliability Score π― - The look and feel of the reliability score page is also upgraded, it now gives a clearer idea about the weights of the expeiments.
Conclusion
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.
Make sure to try the Litmus Portal 2.0 and give your valuable feedback and suggestion. Donβt forget to checkout our Litmus website and the Litmus repo. Do leave a star if you find it interesting. π
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/
Cheers!
Top comments (1)
An awesome resource for Litmus 2.0, really helpful for the beginners who want to get a taste of how Litmus works. Thank you for such a great post!