Node CPU Hog using Krknctl
krknctl run node-cpu-hog (optional: --<parameter>:<value> )
Can also set any global variable listed here
Parameter | Description | Type | Default |
---|---|---|---|
Set chaos duration (in secs) as desired | number | 60 | |
Number of cores (workers) of node CPU to be consumed | number | ||
Percentage of total cpu to be consumed | number | 50 | |
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-cpu-hog --help