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)

ParameterDescriptionTypeDefaultPossible Values
--actionaction performed on the node, visit https://github.com/krkn-chaos/krkn/blob/main/docs/node_scenarios.md for more infosenumnode_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
--label-selectorNode label to targetstringnode-role.kubernetes.io/worker
--node-nameNode name to inject faults in case of targeting a specific node; Can set multiple node names separated by a commastring
--instance-countTargeted instance count matching the label selectornumber1
--runsIterations to perform action on a single nodenumber1
--cloud-typeCloud platform on top of which cluster is running, supported platforms - aws, azure, gcp, vmware, ibmcloud, bmenumaws
--timeoutDuration to wait for completion of node scenario injectionnumber180
--durationDuration to wait for completion of node scenario injectionnumber120
--vsphere-ipVSpere IP Addressstring
--vsphere-usernameVSpere IP Addressstring (secret)
--vsphere-passwordVSpere passwordstring (secret)
--aws-access-key-idAWS Access Key Idstring (secret)
--aws-secret-access-keyAWS Secret Access Keystring (secret)
--aws-default-regionAWS default regionstring
--bmc-userOnly needed for Baremetal ( bm ) - IPMI/bmc usernamestring(secret)
--bmc-passwordOnly needed for Baremetal ( bm ) - IPMI/bmc passwordstring(secret)
--bmc-addressOnly needed for Baremetal ( bm ) - IPMI/bmc addressstring
--ibmc-addressIBM Cloud URLstring
--ibmc-api-keyIBM Cloud API Keystring (secret)
--azure-tenantAzure Tenantstring
--azure-client-secretAzure Client Secretstring(secret)
--azure-client-idAzure Client IDstring(secret)
--azure-subscription-idAzure Subscription IDstring (secret)
--gcp-application-credentialsGCP application credentials file locationfile

NOTE: The secret string types will be masked when scenario is ran

To see all available scenario options

krknctl run node-scenarios --help