Node Scenarios using Krknctl
krknctl run node-scenarios (optional: --<parameter>:<value> )
Can also set any global variable listed here
Scenario specific parameters: (be sure to scroll to right)
Parameter | Description | Type | Default | Possible Values |
---|---|---|---|---|
action performed on the node, visit https://github.com/krkn-chaos/krkn/blob/main/docs/node_scenarios.md for more infos | enum | node_start_scenario,node_stop_scenario,node_stop_start_scenario,node_termination_scenario,node_reboot_scenario,stop_kubelet_scenario,stop_start_kubelet_scenario,restart_kubelet_scenario,node_crash_scenario,stop_start_helper_node_scenario | ||
Node label to target | string | node-role.kubernetes.io/worker | ||
Node name to inject faults in case of targeting a specific node; Can set multiple node names separated by a comma | string | |||
Targeted instance count matching the label selector | number | 1 | ||
Iterations to perform action on a single node | number | 1 | ||
Cloud platform on top of which cluster is running, supported platforms - aws, azure, gcp, vmware, ibmcloud, bm | enum | aws | ||
Duration to wait for completion of node scenario injection | number | 180 | ||
Duration to wait for completion of node scenario injection | number | 120 | ||
VSpere IP Address | string | |||
VSpere IP Address | string (secret) | |||
VSpere password | string (secret) | |||
AWS Access Key Id | string (secret) | |||
AWS Secret Access Key | string (secret) | |||
AWS default region | string | |||
Only needed for Baremetal ( bm ) - IPMI/bmc username | string(secret) | |||
Only needed for Baremetal ( bm ) - IPMI/bmc password | string(secret) | |||
Only needed for Baremetal ( bm ) - IPMI/bmc address | string | |||
IBM Cloud URL | string | |||
IBM Cloud API Key | string (secret) | |||
Azure Tenant | string | |||
Azure Client Secret | string(secret) | |||
Azure Client ID | string(secret) | |||
Azure Subscription ID | string (secret) | |||
GCP application credentials file location | file |
NOTE: The secret string types will be masked when scenario is ran
To see all available scenario options
krknctl run node-scenarios --help