storm

command module
v0.0.0-...-b0b6c39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
k8s
k8s

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL