Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.38 KB

readme.md

File metadata and controls

56 lines (40 loc) · 1.38 KB

Storm is a tool to create storms in your container runtime environment. You can specify a group of containers/pods that will stop and start in random order, or throw all available containers into the storm.

Installation
go install github.com/scientificideas/storm@latest

Chaos level
storm -chaos hard 

The chaos level is simply how fast your containers will be affected by the tool (start, stop)

Available chaos levels: "easy", "medium" (default), "hard"


Filter targets
storm -filter containerGroup1,containerGroup2

If a filter is specified, the tool will work only with containers/pods that contain the specified pattern in their names.


Indicate the targets that the storm will hit

If you only want to storm only certain containers/pods, just list them:

storm -chaos hard -targets container1,container2,container3

No other containers will be affected.


Start containers immediately after stop

The containers will be restarted immediately after the fall

storm -startfast true

Choose container runtime/orchestrator which need a storm (docker | k8s)
storm -runtime=k8s -kube-namespace=some-namespace -kube-context=my-context
Kill k8s pods with pattern 'xyz' in pod's name
storm -filter=xyz -runtime=k8s -kube-namespace=some-namespace -kube-context=my-context