Memory Hog using Krknctl

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

Can also set any global variable listed here

ParameterDescriptionTypeDefault
--chaos-durationSet chaos duration (in sec) as desirednumber60
–memory-workersTotal number of workers (stress-ng threads)number1
–memory-consumptionpercentage (expressed with the suffix %) or amount (expressed with the suffix b, k, m or g) of memory to be consumed by the scenariostring90%
--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.memory/krkn-chaos/krkn-hog

To see all available scenario options

krknctl run node-memory-hog --help