mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 18:10:00 +00:00
This commit adds kraken to CI pipeline and thereby enabling chaos scenarios to be injected on specified jump host.
21 lines
452 B
YAML
Executable File
21 lines
452 B
YAML
Executable File
config:
|
|
runStrategy:
|
|
runs: 1
|
|
maxSecondsBetweenRuns: 30
|
|
minSecondsBetweenRuns: 1
|
|
scenarios:
|
|
- name: kill up to 3 pods in any openshift namespace
|
|
steps:
|
|
- podAction:
|
|
matches:
|
|
- namespace: "openshift-.*"
|
|
filters:
|
|
- property:
|
|
name: "state"
|
|
value: "Running"
|
|
- randomSample:
|
|
size: 3
|
|
actions:
|
|
- kill:
|
|
probability: .7
|