A small implementation of a periodic, selective, random Pod melter

Pure Chaos

A small implementation of a periodic, selective, random Pod melter
Pure Chaos

Chaos Engineering is the discipline of experimenting on a system in order to build confidence in the system’s capability to withstand turbulent conditions in production. – Principles of Chaos Engineering

There are several frameworks that you can add to Kubernetes to provide chaos testing. However, creating a simple chaos tester does not mean it has to be complicated. With just a few tricks a simple chaos tester can run amuck in your cluster, relentlessly messing with your precious snowflakes.

In this lab, you will learn how to:

    ☐ Use the Kubernetes API with Python
    ☐ Install a container with a simple script that accesses the Kubernetes API
    ☐ Invoke a Cron Job with the Chaos script to randomly melt away Pods
    ☐ Use annotations to define chaos targets

  • LEVEL

    Beginner

  • DURATION

    15 minutes

  • UPDATED

    31 Dec, 2021

Categories