Container Scenarios using Krknctl
krknctl run container-scenarios (optional: --<parameter>:<value> )
Can also set any global variable listed here
Scenario specific parameters:
| Parameter | Description | Type | Default |
|---|---|---|---|
| Targeted namespace in the cluster | string | openshift-etcd | |
| Label of the container(s) to target | string | k8s-app=etcd | |
| Label of pod/container to exclude after using label-selector to target. For example “app=foo” | string | False | |
| Number of container to disrupt | number | 1 | |
| Name of the container to disrupt | string | etcd | |
| kill signal to run. For example 1 ( hang up ) or 9 | string | 1 | |
| Time to wait before checking if all containers that were affected recover properly | number | 60 |
To see all available scenario options
krknctl run container-scenarios --help