Scenarios

Supported chaos scenarios

ScenarioPlugin TypeDescription
Pod failurespod_disruption_scenariosInjects pod failures
Container failurescontainer_scenariosInjects container failures based on the provided kill signal
Node failuresnode_scenariosInjects node failure through OpenShift/Kubernetes, cloud API’s
Zone outageszone_outages_scenariosCreates zone outage to observe the impact on the cluster, applications
Time skewtime_scenariosSkews the time and date
Node cpu hoghog_scenariosHogs CPU on the targeted nodes
Node memory hoghog_scenariosHogs memory on the targeted nodes
Node IO hoghog_scenariosHogs io on the targeted nodes
Service Disruptionservice_disruption_scenariosDeleting all objects within a namespace
Application outagesapplication_outages_scenariosIsolates application Ingress/Egress traffic to observe the impact on dependent applications and recovery/initialization timing
Power Outagescluster_shut_down_scenariosShuts down the cluster for the specified duration and turns it back on to check the cluster health
PVC disk fillpvc_scenariosFills up a given PersistenVolumeClaim by creating a temp file on the PVC from a pod associated with it
Network Chaosnetwork_chaos_scenariosIntroduces network latency, packet loss, bandwidth restriction in the egress traffic of a Node’s interface using tc and Netem
Network Chaos NGnetwork_chaos_ng_scenariosIntroduces Node network filtering scenario and a new infrastructure to refactor and port the Network Chaos scenarios
Pod Network Chaospod_network_scenariosIntroduces network chaos at pod level
Service Hijackingservice_hijacking_scenariosHijacks a service http traffic to simulate custom HTTP responses
Syn Floodsyn_flood_scenariosGenerates a substantial amount of TCP traffic directed at one or more Kubernetes services

How to Use Plugin Names

Use the plugin type in the second column above when creating your chaos_scenarios section in the config/config.yaml file

kraken:
    kubeconfig_path: ~/.kube/config                     # Path to kubeconfig
    .. 
    chaos_scenarios:
        - <plugin_type>:
            - scenarios/<scenario_name>.yaml