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 | ||
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 |
To see all available scenario options
krknctl run pod-scenarios --help