Pod Scenarios using Krknctl
krknctl run pod-scenarios (optional: --<parameter>:<value> )
Can also set any global variable listed here
Scenario specific parameters:
| Parameter | Description | Type | Default |
|---|---|---|---|
| Targeted namespace in the cluster ( supports regex ) | string | openshift-* | |
| Label of the pod(s) to target ex. “app=test” | string | ||
| Pods matching this label will be excluded from the chaos even if they match other criteria | string | "" | |
| Regex pattern to match the pods in NAMESPACE when POD_LABEL is not specified | string | .* | |
| Number of pods to disrupt | number | 1 | |
| Timeout to wait for the target pod(s) to be removed in seconds | number | 180 | |
| Fails if the pod disrupted do not recover within the timeout set | number | 120 | |
| Label of the node(s) to target | string | "" | |
| Name of the node(s) to target. Example: [“worker-node-1”,“worker-node-2”,“master-node-1”] | string | [] |
To see all available scenario options
krknctl run pod-scenarios --help