IO Hog using Krknctl

krknctl run node-io-hog (optional: --<parameter>:<value> )

Can also set any global variable listed here

ParameterDescriptionTypeDefault
--chaos-durationSet chaos duration (in sec) as desirednumber60
--oo-block-sizesSze of each write in bytes. Size can be from 1 byte to 4 Megabytes (allowed suffix are b,k,m)string1m
--io-workersNumber of stressor instancesnumber5
--io-write-bytesstring writes N bytes for each hdd process. The size can be expressed as % of free space on the file system or in units of Bytes, KBytes, MBytes and GBytes using the suffix b, k, m or gstring10m
--node-mount-paththe path in the node that will be mounted in the pod and where the io hog will be executed. NOTE: be sure that kubelet has the rights to write in that node pathstring/root
--namespaceNamespace where the scenario container will be deployedstringdefault
--node-selectorNode selector where the scenario containers will be scheduled in the format “=”. NOTE: Will be instantiated a container per each node selected with the same scenario options. If left empty a random node will be selectedstring
--number-of-nodesrestricts the number of selected nodes by the selectornumber
--imageThe hog container image. Can be changed if the hog image is mirrored on a private repositorystringquay.io/krkn-chaos/krkn-hog

To see all available scenario options

krknctl run node-io-hog --help