Adding random regex pod kill

This commit is contained in:
prubenda
2020-05-17 18:08:17 -04:00
committed by Naga Ravi Chaitanya Elluri
parent 07db8f4690
commit 44e753867f
3 changed files with 23 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
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