Node CPU Hog using Krknctl

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

Can also set any global variable listed here

ParameterDescriptionTypeDefault
--chaos-durationSet chaos duration (in secs) as desirednumber60
--coresNumber of cores (workers) of node CPU to be consumednumber
--cpu-percentagePercentage of total cpu to be consumednumber50
--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-cpu-hog --help