Memory Hog using Krknctl
krknctl run node-memory-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 | |
| –memory-workers | Total number of workers (stress-ng threads) | number | 1 |
| –memory-consumption | percentage (expressed with the suffix %) or amount (expressed with the suffix b, k, m or g) of memory to be consumed by the scenario | string | 90% |
| Namespace where the scenario container will be deployed | string | default | |
| Node selector where the scenario containers will be scheduled in the format “ | string | ||
| List of taints for which tolerations need to created. For example [“node-role.kubernetes.io/master:NoSchedule”]" | 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.memory/krkn-chaos/krkn-hog |
To see all available scenario options
krknctl run node-memory-hog --help