mirror of
https://github.com/krkn-chaos/krkn.git
synced 2026-02-14 18:10:00 +00:00
Adding updated scenarios for 3.0 powerfulseal version
This commit is contained in:
committed by
Naga Ravi Chaitanya Elluri
parent
796a458698
commit
07db8f4690
@@ -1,4 +1,4 @@
|
||||
datetime
|
||||
pyfiglet
|
||||
powerfulseal
|
||||
powerfulseal==3.0.0rc9
|
||||
requests
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
config:
|
||||
loopsNumber: 1
|
||||
minSecondsBetweenRuns: 1
|
||||
maxSecondsBetweenRuns: 30
|
||||
|
||||
# the scenarios describing actions on kubernetes pods
|
||||
podScenarios:
|
||||
runStrategy:
|
||||
runs: 1
|
||||
maxSecondsBetweenRuns: 30
|
||||
minSecondsBetweenRuns: 1
|
||||
scenarios:
|
||||
- name: "delete etcd pods"
|
||||
steps:
|
||||
- podAction:
|
||||
matches:
|
||||
- labels:
|
||||
namespace: "openshift-etcd"
|
||||
selector: "k8s-app=etcd"
|
||||
|
||||
match:
|
||||
- labels:
|
||||
namespace: "openshift-etcd"
|
||||
selector: "k8s-app=etcd"
|
||||
filters:
|
||||
- randomSample:
|
||||
size: 1
|
||||
|
||||
filters:
|
||||
- randomSample:
|
||||
size: 1
|
||||
|
||||
# The actions will be executed in the order specified
|
||||
actions:
|
||||
- kill:
|
||||
probability: 1
|
||||
force: true
|
||||
# The actions will be executed in the order specified
|
||||
actions:
|
||||
- kill:
|
||||
probability: 1
|
||||
force: true
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
config:
|
||||
loopsNumber: 1
|
||||
minSecondsBetweenRuns: 1
|
||||
maxSecondsBetweenRuns: 30
|
||||
|
||||
# the scenarios describing actions on kubernetes pods
|
||||
podScenarios:
|
||||
runStrategy:
|
||||
runs: 1
|
||||
maxSecondsBetweenRuns: 30
|
||||
minSecondsBetweenRuns: 1
|
||||
scenarios:
|
||||
- name: "delete openshift-apiserver pods"
|
||||
steps:
|
||||
- podAction:
|
||||
matches:
|
||||
- labels:
|
||||
namespace: "openshift-apiserver"
|
||||
selector: "app=openshift-apiserver"
|
||||
|
||||
match:
|
||||
- labels:
|
||||
namespace: "openshift-apiserver"
|
||||
selector: "app=openshift-apiserver"
|
||||
filters:
|
||||
- randomSample:
|
||||
size: 1
|
||||
|
||||
filters:
|
||||
- randomSample:
|
||||
size: 1
|
||||
|
||||
# The actions will be executed in the order specified
|
||||
actions:
|
||||
- kill:
|
||||
probability: 1
|
||||
force: true
|
||||
# The actions will be executed in the order specified
|
||||
actions:
|
||||
- kill:
|
||||
probability: 1
|
||||
force: true
|
||||
|
||||
@@ -1,23 +1,23 @@
|
||||
config:
|
||||
loopsNumber: 1
|
||||
minSecondsBetweenRuns: 1
|
||||
maxSecondsBetweenRuns: 30
|
||||
|
||||
# the scenarios describing actions on kubernetes pods
|
||||
podScenarios:
|
||||
runStrategy:
|
||||
runs: 1
|
||||
maxSecondsBetweenRuns: 30
|
||||
minSecondsBetweenRuns: 1
|
||||
scenarios:
|
||||
- name: "delete openshift-kube-apiserver pods"
|
||||
steps:
|
||||
- podAction:
|
||||
matches:
|
||||
- labels:
|
||||
namespace: "openshift-kube-apiserver"
|
||||
selector: "app=openshift-kube-apiserver"
|
||||
|
||||
match:
|
||||
- labels:
|
||||
namespace: "openshift-kube-apiserver"
|
||||
selector: "app=openshift-kube-apiserver"
|
||||
filters:
|
||||
- randomSample:
|
||||
size: 1
|
||||
|
||||
filters:
|
||||
- randomSample:
|
||||
size: 1
|
||||
|
||||
# The actions will be executed in the order specified
|
||||
actions:
|
||||
- kill:
|
||||
probability: 1
|
||||
force: true
|
||||
# The actions will be executed in the order specified
|
||||
actions:
|
||||
- kill:
|
||||
probability: 1
|
||||
force: true
|
||||
|
||||
Reference in New Issue
Block a user