Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
November 22, 2020 07:04 am GMT

Creating Chaos and a Giveaway

Alt text of image

Introducing Chaos

"Chaos engineering is the discipline of experimenting on a software system in production in order to build confidence in the system's capability to withstand turbulent and unexpected conditions."

I think when most of us hear 'Chaos' we automatically get a little anxious. The idea of presenting failure into anything let alone a system can sound scary, however, by running these controlled experiments we can gain insight and reduce disasters. This is important because inevitably a system WILL fail.

So let's break some stuff and see how it all works!

Below is a repo with step by step instructions to setup Kubernetes clusters and use a few different platforms to run experiments on them.

A lot of tutorials I have found around running chaos experiments with K8s skip the cluster setup bit - making this repo a good complete getting started guide if you're new to K8s and Chaos Engineering.

GitHub logo ari-hacks / kubernetes-chaos-sandbox

A Kubernetes sandbox repo of chaos experiment tutorials for litmus chaos, chaos mesh, and gremlin (includes k8s setup)

Kubernetes Chaos Sandbox

chaos-experiment

A sandbox repo of chaos experiment tutorials with Gremlin, Litmus Chaos, and Chaos Mesh

Local Setup

  • OS: MacOs Catalina

  • Kubernetes: Docker Desktop

  • Resource settings
      - CPUs:6  - Memory: 6GB  - Swap: 3GB  - Disk Size: 59.6GB

Quick Links to Tutorials

Quick Link to Kubernetes setup

Additional tutorials

There are several organizations making waves in the chaos experimenting world today. I choose to learn a bit more about Gremlin, Litmus, and Chaos Mesh.

Each provides various interesting experiments and testing experiences. Gremlin is chaos engineering as a service. This is perfect if you like a good GUI and want to get up and running quickly. Litmus Chaos is a good choice if you enjoy the command line (which I do ). I had the opportunity to contribute to their project and the team is great! Chaos Mesh is similar to Litmus Chaos and they have some awesome documentation I was able to contribute to this Hacktoberfest as well. Chaos Mesh offers the option of using an interactive GUI or the command line (or both!) making it very developer friendly.

While the purpose of Chaos experimenting is introducing failure the main goal in testing is really to fix and overcome any weaknesses found in a system. By using these tools we are making software and infrastructure more reliable and sustainable.

Alt text of image

"The purpose of Chaos Engineering is NOT to 'Break Things on Purpose'. If anything it is to try and 'Fix Them on Purpose.'"

Before you go.....

I am giving away a $12 voucher to the dev shop! Leave a comment below if interested and I'll pick someone at random this weekend to send it to!


Original Link: https://dev.to/ari_hacks/creating-chaos-and-a-giveaway-47kc

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To