IO Hog using Krknctl
krknctl run node-io-hog (optional: --<parameter>:<value> )
Can also set any global variable listed here
Parameter | Description | Type | Default |
---|---|---|---|
Set chaos duration (in sec) as desired | number | 60 | |
sSze of each write in bytes. Size can be from 1 byte to 4 Megabytes (allowed suffix are b,k,m) | string | 1m | |
Number of stressor instances | number | 5 | |
string 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 g | string | 10m | |
the 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 path | string | /root | |
Namespace where the scenario container will be deployed | string | default | |
Node selector where the scenario containers will be scheduled in the format “ | string | ||
restricts the number of selected nodes by the selector | number | ||
The hog container image. Can be changed if the hog image is mirrored on a private repository | string | quay.io/krkn-chaos/krkn-hog |
To see all available scenario options
krknctl run node-io-hog --help