LitmusChaos in your Spinnaker Pipeline
Nov 13, 2020 by Ryan Pei
Chaos engineering is an essential ingredient in delivering reliable services. As underlying infrastructure becomes more and more ephemeral for efficiency’s sake, it becomes ever more important to ensure your workloads are resilient in a constantly changing environment. LitmusChaos is an emerging tool in this space and garnering traction in the Kubernetes community. So if you’re deploying on Kubernetes with Spinnaker and want to run chaos experiments in your pipeline, check out this Spinnaker plugin for LitmusChaos.
This video recorded by the Litmus team demonstrates their plugin:
The plugin installs Litmus in your target namespace and runs a chaos experiment chosen by whoever configures this stage in their pipeline. The install/uninstall steps in the plugin are also configurable so that you can run multiple experiments before uninstalling Litmus wherever you’ve deployed this. You can also check out the job templates used to specify these experiments and how they’re run in this repo.
Now with Litmus included as a step in your deployment pipelines in Spinnaker, you can sleep better at night knowing that all workloads underwent chaos testing. Special thanks to the awesome team at MayaData who created this plugin for the community!
And if you’re interested in knowing more about Spinnaker plugins, check out this article for creating your own custom stage in Spinnaker. You can now add any kind of task to your Spinnaker pipeline via a custom stage plugin.