VOOZH about

URL: https://thenewstack.io/why-chaos-engineering-for-jenkins-is-easier-than-you-think/

⇱ Why Chaos Engineering for Jenkins Is Easier Than You Think - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-02-07 12:44:05
Why Chaos Engineering for Jenkins Is Easier Than You Think
news,sponsor-chaosnative,sponsored,sponsored-event-coverage,
Kubernetes / Observability

Why Chaos Engineering for Jenkins Is Easier Than You Think

During Chaos Carnival 2022, Akram Riahi, of WeScale, showed how chaos engineering works with a Jenkins pipeline, using open source LitmusChaos. 
Feb 7th, 2022 12:44pm by B. Cameron Gain
👁 Featued image for: Why Chaos Engineering for Jenkins Is Easier Than You Think
ChaosNative sponsored this post. Insight Partners is an investor in ChaosNative and TNS.

Chaos engineering can represent both fear and hope for the developer. For those who have not yet implemented chaos testing in their continuous integration/continuous delivery (CI/CD) pipelines, the fear might be that chaos engineering will introduce software-release delays.

Chaos experiments, which introduce failure into mock or real production environments to test resiliency,  might be seen as more testing — which, at its worst, might slow developers down. The experiments might also be seen as potentially adding more complexity when committing code to the Jenkins pipeline, when a Kubernetes environment is already enormously complex.

However, developers also don’t want to test how their apps run in an isolated environment, only to then have them crash or not work properly in production environments after committing the code to Jenkins.

ChaosNative Inc. provides products and services for the reliability of cloud native DevOps built on top of the popular open source Chaos engineering project LitmusChaos. ChaosNative offers the hosted Litmus service at cloud.chaosnative.com. ChaosNative and TNS are under common control.
Learn More
The latest from ChaosNative

With the right tools and processes in place, chaos engineering can directly improve software deployment speeds, and can reduce failure rates and mean time to recover (MTTR) when applications crash in production.

👁 Image

During ChaosNative’s annual users’ conference Chaos Carnival 2022, Akram Riahi, a cloud builder for WeScale, a data-access platform provider, showed how chaos engineering works with a Jenkins pipeline, using open source LitmusChaos as the framework.

How to Inject Chaos into a DevOps Pipeline

Traditional tests at the developer stage of CI  are used to “look for things we already know that we have — we also have the right to be surprised sometimes by problems we don’t know about and we don’t expect in order to improve the app resilience,” Riahi said. “For that reason, we have to enable developers to inject chaos in their DevOps pipeline as often as they want.”

👁 Image

Riahi showed how developers can “easily inject chaos” via a simple pull request on a Jenkins pipeline. As he described, it is not really that complicated to do.

“The question here really isn’t difficult: do we have enough knowledge to do chaos? How can you deal with it on a daily basis knowing you are pushing a lot of code that has to be resilient?” Riahi asked. “Can we make it easier for developers or [site reliability engineers] to do that? Well, the answer of course is, yes.”

👁 Image

In addition to a Jenkins pipeline using LitmusChaos as the framework used to inject chaos via a pull request, the deploy environment in the demo consisted of Amazon Elastic Kubernetes Service (EKS) with Terraform.

Slack was used for alerts since, as Riahi described, it is highly advisable to communicate to all DevOps team members that the process of injecting chaos can create some performance problems or even failures with a blast radius in a live production environment.

GitHub hooks were used to trigger the Jenkins pipeline. For monitoring and observability metrics, Grafana and Prometheus were used for the monitoring stack.

👁 Image

During the demo, LitmusChaos was applied once the pipeline updated the app with the new image. LitmusChaos then applied the workflow designed for the chaos experiment in the Kubernetes environment.

The results generated were either pass or fail. In the event of a failure, notifications are automatically sent via Slack, prompting the developers to get back to work again to build more resiliency into the app.

👁 Image

Chaos experiments should not be feared but embraced by developers, especially when things fail. “With chaos engineering … we are going to get a lot of failures,” Riahi said. “And we don’t have to be afraid of them because they are instructive” to ultimately build more resilience into applications.

For more details, check out Riahi’s demo here:

ChaosNative Inc. provides products and services for the reliability of cloud native DevOps built on top of the popular open source Chaos engineering project LitmusChaos. ChaosNative offers the hosted Litmus service at cloud.chaosnative.com. ChaosNative and TNS are under common control.
Learn More
The latest from ChaosNative
TRENDING STORIES
BC Gain is founder and principal analyst for ReveCom Media. His obsession with computers began when he hacked a Space Invaders console to play all day for 25 cents at the local video arcade in the early 1980s. He then...
Read more from B. Cameron Gain
ChaosNative sponsored this post. Insight Partners is an investor in ChaosNative and TNS.
SHARE THIS STORY
TRENDING STORIES
Amazon Web Services and ChaosNative are sponsors of The New Stack.
TNS owner Insight Partners is an investor in: Pragma, ChaosNative.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.